refactor: Drop redudant CWallet::GetDBHandle

This commit is contained in:
João Barbosa
2020-09-17 22:23:45 +01:00
parent 7e373294a5
commit 021feb3187
2 changed files with 1 additions and 8 deletions

View File

@@ -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;