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/qt/test/wallettests.cpp | |
parent | 2fa3f30050f2db665605c8371b1fd131f39a2f9b (diff) | |
download | bitcoin-e2a47ce08528dfb39c0340145c6977f6afd587f6.tar.xz |
refactor: move first run detection to client code
Diffstat (limited to 'src/qt/test/wallettests.cpp')
-rw-r--r-- | src/qt/test/wallettests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp index 03460cd6eb..febfead6ad 100644 --- a/src/qt/test/wallettests.cpp +++ b/src/qt/test/wallettests.cpp @@ -140,8 +140,7 @@ void TestGUI(interfaces::Node& node) } node.setContext(&test.m_node); std::shared_ptr<CWallet> wallet = std::make_shared<CWallet>(node.context()->chain.get(), "", CreateMockWalletDatabase()); - bool firstRun; - wallet->LoadWallet(firstRun); + wallet->LoadWallet(); { auto spk_man = wallet->GetOrCreateLegacyScriptPubKeyMan(); LOCK2(wallet->cs_wallet, spk_man->cs_KeyStore); |