diff options
| author | Pieter Wuille <[email protected]> | 2014-09-10 14:42:22 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-10-02 20:26:16 +0200 |
| commit | c7829ea797c840dda7888ee860a50b7a3308069d (patch) | |
| tree | 55eafd1b6fef2ba1a5d3aa1aec9e0c6165091893 /src/script/sign.cpp | |
| parent | Merge pull request #5034 (diff) | |
| download | discoin-c7829ea797c840dda7888ee860a50b7a3308069d.tar.xz discoin-c7829ea797c840dda7888ee860a50b7a3308069d.zip | |
Abstract out SignatureChecker
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 8abd8d221..a17fb5878 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -174,7 +174,7 @@ static CScript CombineMultisig(CScript scriptPubKey, const CMutableTransaction& if (sigs.count(pubkey)) continue; // Already got a sig for this pubkey - if (CheckSig(sig, pubkey, scriptPubKey, txTo, nIn, 0)) + if (SignatureChecker(txTo, nIn).CheckSig(sig, pubkey, scriptPubKey, 0)) { sigs[pubkey] = sig; break; |