diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-01-21 13:15:19 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-01-21 13:52:32 +0100 |
commit | 52b29dca7670c3f6d2ab918c0fff1d17c4e494ad (patch) | |
tree | 81a173031fa09d54d36a07af87d68c32edb224cb /src/test/transaction_tests.cpp | |
parent | da83ecd45478367e5388c58fe29a4a8d72f7f1cd (diff) | |
download | bitcoin-52b29dca7670c3f6d2ab918c0fff1d17c4e494ad.tar.xz |
Get rid of inaccurate ScriptSigArgsExpected
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) |