|
|
@ -123,7 +123,7 @@ static bool SignStep(const SigningProvider& provider, const BaseSignatureCreator
|
|
|
|
case TX_PUBKEYHASH: {
|
|
|
|
case TX_PUBKEYHASH: {
|
|
|
|
CKeyID keyID = CKeyID(uint160(vSolutions[0]));
|
|
|
|
CKeyID keyID = CKeyID(uint160(vSolutions[0]));
|
|
|
|
CPubKey pubkey;
|
|
|
|
CPubKey pubkey;
|
|
|
|
GetPubKey(provider, sigdata, keyID, pubkey);
|
|
|
|
if (!GetPubKey(provider, sigdata, keyID, pubkey)) return false;
|
|
|
|
if (!CreateSig(creator, sigdata, provider, sig, pubkey, scriptPubKey, sigversion)) return false;
|
|
|
|
if (!CreateSig(creator, sigdata, provider, sig, pubkey, scriptPubKey, sigversion)) return false;
|
|
|
|
ret.push_back(std::move(sig));
|
|
|
|
ret.push_back(std::move(sig));
|
|
|
|
ret.push_back(ToByteVector(pubkey));
|
|
|
|
ret.push_back(ToByteVector(pubkey));
|
|
|
|