Skip to content
Permalink
Browse files

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
  • Loading branch information...
laanwj committed Aug 22, 2018
2 parents 2df1132 + 321159e commit 0738b88fe0b6c840e3cefa810c2b6de6c8b32ed0
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/wallet/walletdb.cpp
@@ -509,7 +509,8 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
strErr = "Error reading wallet database: Unknown non-tolerable wallet flags found";
return false;
}
} else if (strType != "bestblock" && strType != "bestblock_nomerkle") {
} else if (strType != "bestblock" && strType != "bestblock_nomerkle" &&
strType != "minversion") {
wss.m_unknown_records++;
}
} catch (...)

0 comments on commit 0738b88

Please sign in to comment.
You can’t perform that action at this time.