Skip to content

Commit 321159e

Browse files
committed
don't report minversion wallet entry as unknown
1 parent f87d0a9 commit 321159e

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)