From 17d576fef4b5c20334482974010bf5c20427b2f0 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 1 Apr 2022 22:16:40 +0000 Subject: [PATCH] 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. --- src/wallet/walletdb.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index edc5245e1..2055b3f57 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -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" ||