diff options
| author | Pieter Wuille <[email protected]> | 2015-01-27 09:28:45 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-02-02 20:19:12 -0800 |
| commit | 858809a33e4f690c4ad213f44a6c4465fc2ef025 (patch) | |
| tree | a7b1dad512fb2040431a92f50b2131c0a872d088 /src/script/bitcoinconsensus.cpp | |
| parent | Merge pull request #5731 (diff) | |
| download | discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.tar.xz discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.zip | |
Use separate SignatureChecker for CMutableTransaction
Diffstat (limited to 'src/script/bitcoinconsensus.cpp')
| -rw-r--r-- | src/script/bitcoinconsensus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bitcoinconsensus.cpp b/src/script/bitcoinconsensus.cpp index c8dd54a74..5e1f47353 100644 --- a/src/script/bitcoinconsensus.cpp +++ b/src/script/bitcoinconsensus.cpp @@ -78,7 +78,7 @@ int bitcoinconsensus_verify_script(const unsigned char *scriptPubKey, unsigned i // Regardless of the verification result, the tx did not error. set_error(err, bitcoinconsensus_ERR_OK); - return VerifyScript(tx.vin[nIn].scriptSig, CScript(scriptPubKey, scriptPubKey + scriptPubKeyLen), flags, SignatureChecker(tx, nIn), NULL); + return VerifyScript(tx.vin[nIn].scriptSig, CScript(scriptPubKey, scriptPubKey + scriptPubKeyLen), flags, TransactionSignatureChecker(tx, nIn), NULL); } catch (const std::exception&) { return set_error(err, bitcoinconsensus_ERR_TX_DESERIALIZE); // Error deserializing } |