aboutsummaryrefslogtreecommitdiff
path: root/src/test/wallet_tests.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-07-26 03:12:12 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-08-01 17:49:57 +0000
commit3c726dd3c07acdda465522f027ba115b4185afaf (patch)
treec530730f0d9c9b06c3aae20c84e11f88cbfbdb6c /src/test/wallet_tests.cpp
parent814efd6f1fc83afb9ed4bb3c0808ee3bab11d10d (diff)
downloadbitcoin-3c726dd3c07acdda465522f027ba115b4185afaf.tar.xz
Bugfix: Use standard BTC unit in comments
Diffstat (limited to 'src/test/wallet_tests.cpp')
-rw-r--r--src/test/wallet_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/wallet_tests.cpp b/src/test/wallet_tests.cpp
index 2f6da932a6..b0b3c47967 100644
--- a/src/test/wallet_tests.cpp
+++ b/src/test/wallet_tests.cpp
@@ -164,11 +164,11 @@ BOOST_AUTO_TEST_CASE(coin_selection_tests)
add_coin( 3*COIN);
add_coin( 4*COIN); // now we have 5+6+7+8+18+20+30+100+200+300+400 = 1094 cents
BOOST_CHECK( wallet.SelectCoinsMinConf(95 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
- BOOST_CHECK_EQUAL(nValueRet, 1 * COIN); // we should get 1 bitcoin in 1 coin
+ BOOST_CHECK_EQUAL(nValueRet, 1 * COIN); // we should get 1 BTC in 1 coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1);
BOOST_CHECK( wallet.SelectCoinsMinConf(195 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
- BOOST_CHECK_EQUAL(nValueRet, 2 * COIN); // we should get 2 bitcoins in 1 coin
+ BOOST_CHECK_EQUAL(nValueRet, 2 * COIN); // we should get 2 BTC in 1 coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1);
// empty the wallet and start again, now with fractions of a cent, to test sub-cent change avoidance