diff options
| author | Patrick Lodder <[email protected]> | 2020-07-20 18:14:13 +0200 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2020-07-22 13:44:44 +0200 |
| commit | 7626b811a74d5d0fb5fe95d7afa812cdba016804 (patch) | |
| tree | 55a1ed9cd17c064b4fd046b41ce63947821dcf2c /src/test/transaction_tests.cpp | |
| parent | travis: fix warnings about sudo and env/matrix (diff) | |
| download | discoin-7626b811a74d5d0fb5fe95d7afa812cdba016804.tar.xz discoin-7626b811a74d5d0fb5fe95d7afa812cdba016804.zip | |
tests: fix non-qt tests that spend dust
- transaction_tests/IsStandard was spending 0.9 DOGE
- tx_validationcache_tests/mempool_dblspend was spending 0.11 DOGE
- wallet_tests/coin_selection was completely built around spending
cents. This test has been completely reworked and redocumented
to make sense for Dogecoin
Diffstat (limited to 'src/test/transaction_tests.cpp')
| -rw-r--r-- | src/test/transaction_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index e4fa56100..9124c2ff3 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -681,7 +681,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) t.vin[0].prevout.n = 1; t.vin[0].scriptSig << std::vector<unsigned char>(65, 0); t.vout.resize(1); - t.vout[0].nValue = 90*CENT; + t.vout[0].nValue = COIN; CKey key; key.MakeNewKey(true); t.vout[0].scriptPubKey = GetScriptForDestination(key.GetPubKey().GetID()); |