diff options
author | Ivan Metlushko <metlushko@gmail.com> | 2020-12-18 17:45:11 +0100 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2021-05-19 08:50:16 +0200 |
commit | e2a47ce08528dfb39c0340145c6977f6afd587f6 (patch) | |
tree | f945e6ef156bfc81e97d47059c3725da9b66088d /src/wallet/test/coinselector_tests.cpp | |
parent | 2fa3f30050f2db665605c8371b1fd131f39a2f9b (diff) |
refactor: move first run detection to client code
Diffstat (limited to 'src/wallet/test/coinselector_tests.cpp')
-rw-r--r-- | src/wallet/test/coinselector_tests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/test/coinselector_tests.cpp b/src/wallet/test/coinselector_tests.cpp index 7eff6e592d..7bca385deb 100644 --- a/src/wallet/test/coinselector_tests.cpp +++ b/src/wallet/test/coinselector_tests.cpp @@ -297,8 +297,7 @@ BOOST_AUTO_TEST_CASE(bnb_search_test) empty_wallet(); { std::unique_ptr<CWallet> wallet = std::make_unique<CWallet>(m_node.chain.get(), "", CreateMockWalletDatabase()); - bool firstRun; - wallet->LoadWallet(firstRun); + wallet->LoadWallet(); wallet->SetupLegacyScriptPubKeyMan(); LOCK(wallet->cs_wallet); add_coin(*wallet, 5 * CENT, 6 * 24, false, 0, true); |