aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2018-11-13 10:42:10 -0500
committerGregory Sanders <gsanders87@gmail.com>2018-11-13 10:42:10 -0500
commitb81a1860561ccbda3cd6913f54e49fdc91c7718c (patch)
tree0ce0b07f9ef6140bf42c82cc2752f97c639938d8 /src
parentf7beb95a1f921ed292680fbd2f042b4bac73bf59 (diff)
GetPubKey: make sigdata const
Diffstat (limited to 'src')
-rw-r--r--src/script/sign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp
index 47114d2e2a..67d102cc0e 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);