Skip to content

Commit 0738b88

Browse files
committed
Merge #13967: [walletdb] don't report minversion wallet entry as unknown
321159e don't report minversion wallet entry as unknown (Gregory Sanders) Pull request description: It is known in WalletBatch::LoadWallet Tree-SHA512: 82f7e12f48ae7d17317074ce5b5e27c70ba8334b04adbf7cc863f8169cc1aa460b9454571e2698aa00059c8c8f669fe19c0d40c4910dcded260ddca6ce78be9d
2 parents 2df1132 + 321159e commit 0738b88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/walletdb.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,8 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
509509
strErr = "Error reading wallet database: Unknown non-tolerable wallet flags found";
510510
return false;
511511
}
512-
} else if (strType != "bestblock" && strType != "bestblock_nomerkle") {
512+
} else if (strType != "bestblock" && strType != "bestblock_nomerkle" &&
513+
strType != "minversion") {
513514
wss.m_unknown_records++;
514515
}
515516
} catch (...)

0 commit comments

Comments
 (0)