diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-04-12 00:42:15 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-04-19 14:04:37 +0100 |
commit | fc289b7898fb90d4800675b69c0bb9b42df5599f (patch) | |
tree | d23ed832298fd2e74d934e5cf554328e7e9028b3 /src/qt/test/wallettests.cpp | |
parent | b470c758470fd97ccb42d0348a32942afa2a3ec8 (diff) |
wallet: Refactor WalletRescanReserver to use wallet reference
Diffstat (limited to 'src/qt/test/wallettests.cpp')
-rw-r--r-- | src/qt/test/wallettests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp index 6ce562ffbe..94a1e0a63d 100644 --- a/src/qt/test/wallettests.cpp +++ b/src/qt/test/wallettests.cpp @@ -152,7 +152,7 @@ void TestGUI(interfaces::Node& node) wallet->SetLastBlockProcessed(105, ::ChainActive().Tip()->GetBlockHash()); } { - WalletRescanReserver reserver(wallet.get()); + WalletRescanReserver reserver(*wallet); reserver.reserve(); CWallet::ScanResult result = wallet->ScanForWalletTransactions(Params().GetConsensus().hashGenesisBlock, 0 /* block height */, {} /* max height */, reserver, true /* fUpdate */); QCOMPARE(result.status, CWallet::ScanResult::SUCCESS); |