Browse Source

tests: update transaction_tests for new dust threshold

0.13
Wladimir J. van der Laan 9 years ago
parent
commit
4e2efb3c5f
  1. 2
      src/test/transaction_tests.cpp

2
src/test/transaction_tests.cpp

@ -345,7 +345,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) @@ -345,7 +345,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
t.vout[0].nValue = 501; // dust
BOOST_CHECK(!IsStandardTx(t, reason));
t.vout[0].nValue = 601; // not dust
t.vout[0].nValue = 2730; // not dust
BOOST_CHECK(IsStandardTx(t, reason));
t.vout[0].scriptPubKey = CScript() << OP_1;

Loading…
Cancel
Save