wallet: Treat `mnemonichdchain` records as key material

This is a temporary change to ensure that if this record is unreadable,
we immediately shut down the node and don't make any further changes
that could impair our ability to recover from this state later.

Part of zcash/zcash#5806.
This commit is contained in:
Jack Grigg 2022-04-01 22:16:40 +00:00
parent 8e15446c17
commit 17d576fef4
1 changed files with 1 additions and 0 deletions

View File

@ -909,6 +909,7 @@ static bool IsKeyType(string strType)
return (strType== "key" || strType == "wkey" ||
strType == "hdseed" || strType == "chdseed" ||
strType == "mnemonicphrase" || strType == "cmnemonicphrase" ||
strType == "mnemonichdchain" ||
strType == "zkey" || strType == "czkey" ||
strType == "sapzkey" || strType == "csapzkey" ||
strType == "vkey" || strType == "sapextfvk" ||