Skip to content

Commit 8edb74f

Browse files
committed
Bug: increment counter when writing minversion
1 parent 8aa93b9 commit 8edb74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/walletdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ bool CWalletDB::ErasePool(int64_t nPool)
260260

261261
bool CWalletDB::WriteMinVersion(int nVersion)
262262
{
263-
return batch.Write(std::string(DBKeys::MINVERSION), nVersion);
263+
return WriteIC(std::string(DBKeys::MINVERSION), nVersion);
264264
}
265265

266266
bool CWalletDB::WriteHDChain(const CHDChain& chain)

0 commit comments

Comments
 (0)