diff options
| author | J Ross Nicoll <[email protected]> | 2015-09-03 21:34:03 +0100 |
|---|---|---|
| committer | J Ross Nicoll <[email protected]> | 2015-09-06 11:37:03 +0100 |
| commit | ce196a9bfc2007b4ce79a1ec874c18fdda453caa (patch) | |
| tree | 1e369abc14f87d54cc3213699f092ce01336c747 /src/test/transaction_tests.cpp | |
| parent | Merge pull request #1277 from patricklodder/1.10-fix-travis-extra-compiler (diff) | |
| download | discoin-ce196a9bfc2007b4ce79a1ec874c18fdda453caa.tar.xz discoin-ce196a9bfc2007b4ce79a1ec874c18fdda453caa.zip | |
Match fee calculation to legacy code
Purge all support for zero-fee transactions
Disable IsDust() for backwards compatibility
Diffstat (limited to 'src/test/transaction_tests.cpp')
| -rw-r--r-- | src/test/transaction_tests.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 7f7133793..b4d669663 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -340,8 +340,9 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) string reason; BOOST_CHECK(IsStandardTx(t, reason)); - t.vout[0].nValue = 501; // dust - BOOST_CHECK(!IsStandardTx(t, reason)); + // Dogecoin: Dogecoin allows dust transactions + // t.vout[0].nValue = 501; // dust + // BOOST_CHECK(!IsStandardTx(t, reason)); t.vout[0].nValue = COIN; // not dust BOOST_CHECK(IsStandardTx(t, reason)); |