diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-10 14:42:22 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-02 20:26:16 +0200 |
commit | c7829ea797c840dda7888ee860a50b7a3308069d (patch) | |
tree | 55eafd1b6fef2ba1a5d3aa1aec9e0c6165091893 /src/test | |
parent | 6faee7942671141649b74e50908cb99cabc840e5 (diff) |
Abstract out SignatureChecker
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/script_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 7f09b3daa1..992f32cc4c 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -89,7 +89,7 @@ CMutableTransaction BuildSpendingTransaction(const CScript& scriptSig, const CTr void DoTest(const CScript& scriptPubKey, const CScript& scriptSig, int flags, bool expect, const std::string& message) { - BOOST_CHECK_MESSAGE(VerifyScript(scriptSig, scriptPubKey, BuildSpendingTransaction(scriptSig, BuildCreditingTransaction(scriptPubKey)), 0, flags) == expect, message); + BOOST_CHECK_MESSAGE(VerifyScript(scriptSig, scriptPubKey, flags, SignatureChecker(BuildSpendingTransaction(scriptSig, BuildCreditingTransaction(scriptPubKey)), 0)) == expect, message); } namespace |