aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/wallet_tests.cpp
diff options
context:
space:
mode:
authorIvan Metlushko <metlushko@gmail.com>2020-12-18 17:45:11 +0100
committerIvan Metlushko <metlushko@gmail.com>2021-05-19 08:50:16 +0200
commite2a47ce08528dfb39c0340145c6977f6afd587f6 (patch)
treef945e6ef156bfc81e97d47059c3725da9b66088d /src/wallet/test/wallet_tests.cpp
parent2fa3f30050f2db665605c8371b1fd131f39a2f9b (diff)
refactor: move first run detection to client code
Diffstat (limited to 'src/wallet/test/wallet_tests.cpp')
-rw-r--r--src/wallet/test/wallet_tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp
index c8e3c8f819..171fa67b85 100644
--- a/src/wallet/test/wallet_tests.cpp
+++ b/src/wallet/test/wallet_tests.cpp
@@ -483,8 +483,7 @@ public:
LOCK2(wallet->cs_wallet, ::cs_main);
wallet->SetLastBlockProcessed(::ChainActive().Height(), ::ChainActive().Tip()->GetBlockHash());
}
- bool firstRun;
- wallet->LoadWallet(firstRun);
+ wallet->LoadWallet();
AddKey(*wallet, coinbaseKey);
WalletRescanReserver reserver(*wallet);
reserver.reserve();