mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
tests: update transaction_tests for new dust threshold
This commit is contained in:
parent
28e3249e53
commit
4e2efb3c5f
@ -345,7 +345,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
|
|||||||
t.vout[0].nValue = 501; // dust
|
t.vout[0].nValue = 501; // dust
|
||||||
BOOST_CHECK(!IsStandardTx(t, reason));
|
BOOST_CHECK(!IsStandardTx(t, reason));
|
||||||
|
|
||||||
t.vout[0].nValue = 601; // not dust
|
t.vout[0].nValue = 2730; // not dust
|
||||||
BOOST_CHECK(IsStandardTx(t, reason));
|
BOOST_CHECK(IsStandardTx(t, reason));
|
||||||
|
|
||||||
t.vout[0].scriptPubKey = CScript() << OP_1;
|
t.vout[0].scriptPubKey = CScript() << OP_1;
|
||||||
|
Loading…
Reference in New Issue
Block a user