diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-02-02 12:53:57 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-02-02 12:54:24 +0100 |
| commit | 3dc3149e63934f6ba9d030aec6dcfe839e592b9a (patch) | |
| tree | 9ae090fbc4635e029786b2ee98564121bea4f610 /src/test/transaction_tests.cpp | |
| parent | Merge #7451: Add link to bitcoin whitepaper (diff) | |
| parent | Decide eviction group ties based on time. (diff) | |
| download | discoin-3dc3149e63934f6ba9d030aec6dcfe839e592b9a.tar.xz discoin-3dc3149e63934f6ba9d030aec6dcfe839e592b9a.zip | |
Merge #7453: [0.13] Missing patches from 0.12
1e05727 Decide eviction group ties based on time. (Gregory Maxwell)
1e9613a Do not absolutely protect local peers from eviction. (Gregory Maxwell)
5d74309 Get rid of inaccurate ScriptSigArgsExpected (Pieter Wuille)
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 3dca7ea0f..c27f194b5 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) |