diff options
| author | Ross Nicoll <[email protected]> | 2018-04-22 09:15:59 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 22:11:47 +0100 |
| commit | dee5e404b37603af8066c20e9413084b98561e7f (patch) | |
| tree | e6b5137473f77c49d5c151f752f54c76eb709ac1 /src/test/transaction_tests.cpp | |
| parent | Update tx output in p2p-fullblocktest.py (#1474) (diff) | |
| download | discoin-dee5e404b37603af8066c20e9413084b98561e7f.tar.xz discoin-dee5e404b37603af8066c20e9413084b98561e7f.zip | |
Update or eliminate remaining tests (#1483)
* Change amount tests to use rounded values
* Disable legacy tests
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 374423179..e4fa56100 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -689,8 +689,9 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) std::string reason; BOOST_CHECK(IsStandardTx(t, reason)); + // Dogecoin: Dust is totally different in Dogecoin, disable these tests // Check dust with default relay fee: - CAmount nDustThreshold = 182 * dustRelayFee.GetFeePerK()/1000 * 3; + /* CAmount nDustThreshold = 182 * dustRelayFee.GetFeePerK()/1000 * 3; BOOST_CHECK_EQUAL(nDustThreshold, 546); // dust: t.vout[0].nValue = nDustThreshold - 1; @@ -707,7 +708,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) BOOST_CHECK(!IsStandardTx(t, reason)); // not dust: t.vout[0].nValue = 672; - BOOST_CHECK(IsStandardTx(t, reason)); + BOOST_CHECK(IsStandardTx(t, reason)); */ dustRelayFee = CFeeRate(DUST_RELAY_TX_FEE); t.vout[0].scriptPubKey = CScript() << OP_1; |