diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-01-21 13:15:19 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-02-01 15:28:25 +0100 |
commit | 5d743099b5fe77ba423110bea4f5dfd854fef3b2 (patch) | |
tree | e1b1a23d1900150100a938c831bc5eebffa06aec /src/test/transaction_tests.cpp | |
parent | 196ad6913ff57cd39caf0b262267e67c5a143467 (diff) |
Get rid of inaccurate ScriptSigArgsExpected
(cherry picked from commit 52b29dca7670c3f6d2ab918c0fff1d17c4e494ad)
Diffstat (limited to 'src/test/transaction_tests.cpp')
-rw-r--r-- | src/test/transaction_tests.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 3dca7ea0f7..c27f194b55 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -310,14 +310,6 @@ BOOST_AUTO_TEST_CASE(test_Get) BOOST_CHECK(AreInputsStandard(t1, coins)); BOOST_CHECK_EQUAL(coins.GetValueIn(t1), (50+21+22)*CENT); - - // Adding extra junk to the scriptSig should make it non-standard: - t1.vin[0].scriptSig << OP_11; - BOOST_CHECK(!AreInputsStandard(t1, coins)); - - // ... as should not having enough: - t1.vin[0].scriptSig = CScript(); - BOOST_CHECK(!AreInputsStandard(t1, coins)); } BOOST_AUTO_TEST_CASE(test_IsStandard) |