From 16e5ae5939701f2e1ab49fcb7d885fd8691ec0f4 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Wed, 22 Jul 2020 21:12:23 +0200 Subject: [PATCH] fix cents->coins in comment in wallet_tests.cpp --- src/wallet/test/wallet_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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