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/wallet_tests.cpp | |
parent | 2fa3f30050f2db665605c8371b1fd131f39a2f9b (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.cpp | 3 |
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(); |