diff options
| author | Patrick Lodder <[email protected]> | 2020-07-22 21:12:23 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-22 21:12:23 +0200 |
| commit | 16e5ae5939701f2e1ab49fcb7d885fd8691ec0f4 (patch) | |
| tree | 36d4d7c3c7a54e29d27d40c24db421f8357bdd1a /src/wallet/test/wallet_tests.cpp | |
| parent | rpc-tests: don't use binary.hex() or binary.fromhex() (diff) | |
| download | discoin-16e5ae5939701f2e1ab49fcb7d885fd8691ec0f4.tar.xz discoin-16e5ae5939701f2e1ab49fcb7d885fd8691ec0f4.zip | |
fix cents->coins in comment in wallet_tests.cpp
Diffstat (limited to 'src/wallet/test/wallet_tests.cpp')
| -rw-r--r-- | src/wallet/test/wallet_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index f7f610fa1..4e84bb688 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -173,7 +173,7 @@ BOOST_AUTO_TEST_CASE(coin_selection_tests) add_coin( 18*COIN); // now we have 5+6+7+8+18+20+30 - // and now if we try making 16 coins again, the smaller outputs can make 5+6+7 = 18 cents, the same as the next biggest output, 18 + // and now if we try making 16 coins again, the smaller outputs can make 5+6+7 = 18 coins, the same as the next biggest output, 18 BOOST_CHECK( wallet.SelectCoinsMinConf(16 * COIN, 1, 1, 0, vCoins, setCoinsRet, nValueRet)); BOOST_CHECK_EQUAL(nValueRet, 18 * COIN); // we should get 18 in 1 output BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U); // because in the event of a tie, the biggest output wins |