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/txvalidationcache_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/txvalidationcache_tests.cpp')
| -rw-r--r-- | src/test/txvalidationcache_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/txvalidationcache_tests.cpp b/src/test/txvalidationcache_tests.cpp index a4d1c8f73..64f2782ad 100644 --- a/src/test/txvalidationcache_tests.cpp +++ b/src/test/txvalidationcache_tests.cpp @@ -44,7 +44,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain240Setup) spends[i].vin[0].prevout.hash = coinbaseTxns[0].GetHash(); spends[i].vin[0].prevout.n = 0; spends[i].vout.resize(1); - spends[i].vout[0].nValue = 11*CENT; + spends[i].vout[0].nValue = COIN; spends[i].vout[0].scriptPubKey = scriptPubKey; // Sign: |