diff options
| author | Gregory Sanders <[email protected]> | 2018-11-13 10:42:10 -0500 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2018-11-13 10:42:10 -0500 |
| commit | b81a1860561ccbda3cd6913f54e49fdc91c7718c (patch) | |
| tree | 0ce0b07f9ef6140bf42c82cc2752f97c639938d8 /src/script/sign.cpp | |
| parent | remove redundant KeyOriginInfo access, already done in CreateSig (diff) | |
| download | discoin-b81a1860561ccbda3cd6913f54e49fdc91c7718c.tar.xz discoin-b81a1860561ccbda3cd6913f54e49fdc91c7718c.zip | |
GetPubKey: make sigdata const
Diffstat (limited to 'src/script/sign.cpp')
| -rw-r--r-- | src/script/sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 47114d2e2..67d102cc0 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -48,7 +48,7 @@ static bool GetCScript(const SigningProvider& provider, const SignatureData& sig 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 const auto it = sigdata.signatures.find(address); |