aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_P2SH_tests.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-07-18 17:48:00 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-12 20:04:31 +0200
commit2b23a87599b7d28e86ca193e7b52f429bcdf144f (patch)
tree79c03c4223657483d0fe64a89aead45982d01165 /src/test/script_P2SH_tests.cpp
parentce3649fb61b2b421aa4e36ab107e5f2f9838378b (diff)
Don't pass nHashType to VerifyScript
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
-rw-r--r--src/test/script_P2SH_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_P2SH_tests.cpp b/src/test/script_P2SH_tests.cpp
index add1987664..d866380229 100644
--- a/src/test/script_P2SH_tests.cpp
+++ b/src/test/script_P2SH_tests.cpp
@@ -42,7 +42,7 @@ Verify(const CScript& scriptSig, const CScript& scriptPubKey, bool fStrict)
txTo.vin[0].scriptSig = scriptSig;
txTo.vout[0].nValue = 1;
- return VerifyScript(scriptSig, scriptPubKey, txTo, 0, fStrict ? SCRIPT_VERIFY_P2SH : SCRIPT_VERIFY_NONE, 0);
+ return VerifyScript(scriptSig, scriptPubKey, txTo, 0, fStrict ? SCRIPT_VERIFY_P2SH : SCRIPT_VERIFY_NONE);
}