aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-03-09 20:56:58 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-06-05 22:27:57 +0000
commit19b3648bb52d27c3a9674159d71726b73fe532d9 (patch)
tree06736b4b84033fdffe3e820a1d1ab40fa91b14ec /src/wallet/wallet.cpp
parent74e87389616ce1147c65f0e49f3d84b817693ac6 (diff)
downloadbitcoin-19b3648bb52d27c3a9674159d71726b73fe532d9.tar.xz
CWalletDB: Store the update counter per wallet
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 547daf5c62..9d49b72308 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3884,7 +3884,7 @@ CWallet* CWallet::CreateWalletFromFile(const std::string walletFile)
walletInstance->ScanForWalletTransactions(pindexRescan, true);
LogPrintf(" rescan %15dms\n", GetTimeMillis() - nStart);
walletInstance->SetBestChain(chainActive.GetLocator());
- CWalletDB::IncrementUpdateCounter();
+ walletInstance->dbw->IncrementUpdateCounter();
// Restore wallet transaction metadata after -zapwallettxes=1
if (GetBoolArg("-zapwallettxes", false) && GetArg("-zapwallettxes", "1") != "2")