From 672a38cc061f801b691d9a91cd720d0a414d2e63 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Sat, 7 Aug 2021 07:44:32 +0100 Subject: Use CAmount for amounts Use CAmount rather than unsigned int for amounts for consistency with other fee rate amounts. This does change the type from unsigned int to unsigned int64, and while it is unlikely anyone would need a dust limit higher than unsigned int, again this ensures the theoretical maximum is in line with other rates. --- src/wallet/test/wallet_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/test/wallet_tests.cpp') diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index 79a994bf6..a72e1ce09 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -36,7 +36,7 @@ std::vector> wtxn; typedef set > CoinSet; -extern unsigned int nDustLimit; +extern CAmount nDustLimit; BOOST_FIXTURE_TEST_SUITE(wallet_tests, WalletTestingSetup) -- cgit v1.2.3