diff options
| author | Pieter Wuille <[email protected]> | 2015-12-27 19:49:08 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-22 15:43:00 +0200 |
| commit | 3dd410294d42f251e4808ef1dfcfcd64817edbac (patch) | |
| tree | d6c5146772069c84ad8edbef9fce968b33d54924 /src/test/multisig_tests.cpp | |
| parent | Refactor script validation to observe amounts (diff) | |
| download | discoin-3dd410294d42f251e4808ef1dfcfcd64817edbac.tar.xz discoin-3dd410294d42f251e4808ef1dfcfcd64817edbac.zip | |
BIP143: Verification logic
Includes simplifications by Eric Lombrozo.
Diffstat (limited to 'src/test/multisig_tests.cpp')
| -rw-r--r-- | src/test/multisig_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/multisig_tests.cpp b/src/test/multisig_tests.cpp index 8c95601ea..876b90e4b 100644 --- a/src/test/multisig_tests.cpp +++ b/src/test/multisig_tests.cpp @@ -26,7 +26,7 @@ BOOST_FIXTURE_TEST_SUITE(multisig_tests, BasicTestingSetup) CScript sign_multisig(CScript scriptPubKey, vector<CKey> keys, CTransaction transaction, int whichIn) { - uint256 hash = SignatureHash(scriptPubKey, transaction, whichIn, SIGHASH_ALL); + uint256 hash = SignatureHash(scriptPubKey, transaction, whichIn, SIGHASH_ALL, 0, SIGVERSION_BASE); CScript result; result << OP_0; // CHECKMULTISIG bug workaround |