Skip to content

Commit

Permalink
Bug: increment counter when writing minversion
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed May 17, 2021
1 parent 8aa93b9 commit 8edb74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/walletdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ bool CWalletDB::ErasePool(int64_t nPool)

bool CWalletDB::WriteMinVersion(int nVersion)
{
return batch.Write(std::string(DBKeys::MINVERSION), nVersion);
return WriteIC(std::string(DBKeys::MINVERSION), nVersion);
}

bool CWalletDB::WriteHDChain(const CHDChain& chain)
Expand Down

0 comments on commit 8edb74f

Please sign in to comment.