mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-27 20:31:52 +02:00
GetPubKey: make sigdata const
This commit is contained in:
parent
f7beb95a1f
commit
b81a186056
@ -48,7 +48,7 @@ static bool GetCScript(const SigningProvider& provider, const SignatureData& sig
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool GetPubKey(const SigningProvider& provider, SignatureData& sigdata, const CKeyID& address, CPubKey& pubkey)
|
static bool GetPubKey(const SigningProvider& provider, const SignatureData& sigdata, const CKeyID& address, CPubKey& pubkey)
|
||||||
{
|
{
|
||||||
// Look for pubkey in all partial sigs
|
// Look for pubkey in all partial sigs
|
||||||
const auto it = sigdata.signatures.find(address);
|
const auto it = sigdata.signatures.find(address);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user