Get rid of inaccurate ScriptSigArgsExpected

(cherry picked from commit 52b29dca76)
This commit is contained in:
Pieter Wuille
2016-01-21 13:15:19 +01:00
committed by MarcoFalke
parent 196ad6913f
commit 5d743099b5
5 changed files with 6 additions and 70 deletions

View File

@@ -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)