remove redundant KeyOriginInfo access, already done in CreateSig
This commit is contained in:
parent
6b8d0a2164
commit
f7beb95a1f
1 changed files with 1 additions and 8 deletions
|
@ -63,14 +63,7 @@ static bool GetPubKey(const SigningProvider& provider, SignatureData& sigdata, c
|
|||
return true;
|
||||
}
|
||||
// Query the underlying provider
|
||||
if (provider.GetPubKey(address, pubkey)) {
|
||||
KeyOriginInfo info;
|
||||
if (provider.GetKeyOrigin(address, info)) {
|
||||
sigdata.misc_pubkeys.emplace(address, std::make_pair(pubkey, std::move(info)));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return provider.GetPubKey(address, pubkey);
|
||||
}
|
||||
|
||||
static bool CreateSig(const BaseSignatureCreator& creator, SignatureData& sigdata, const SigningProvider& provider, std::vector<unsigned char>& sig_out, const CPubKey& pubkey, const CScript& scriptcode, SigVersion sigversion)
|
||||
|
|
Loading…
Reference in a new issue