diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-09-17 22:23:45 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-11-07 11:35:20 +0000 |
commit | 021feb3187b207d511561c1f0ffd7f9e5e0c9c1d (patch) | |
tree | 3d05294a61e94c6134871d734381671b7d475d20 /src/wallet/walletdb.cpp | |
parent | 7e373294a5ae819099c39d9d03d1f5a311d63cfc (diff) |
refactor: Drop redudant CWallet::GetDBHandle
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index aa3b3c10b0..9ed9818479 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -943,7 +943,7 @@ void MaybeCompactWalletDB() } for (const std::shared_ptr<CWallet>& pwallet : GetWallets()) { - WalletDatabase& dbh = pwallet->GetDBHandle(); + WalletDatabase& dbh = pwallet->GetDatabase(); unsigned int nUpdateCounter = dbh.nUpdateCounter; |