Add "zkey" to list of key types (used by the wallet to decide

whether or not it can be recovered if it detects bad records).
This commit is contained in:
Simon 2016-08-23 13:10:47 -07:00
parent 79d769a382
commit 309b0ecd80
1 changed files with 1 additions and 0 deletions

View File

@ -641,6 +641,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
static bool IsKeyType(string strType)
{
return (strType== "key" || strType == "wkey" ||
strType == "zkey" ||
strType == "mkey" || strType == "ckey");
}