Skip to content

Commit 1b193ae

Browse files
committed
[Wallet] load Sapling hd chain from disk.
1 parent dbc4306 commit 1b193ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/wallet/walletdb.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,10 @@ bool ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, CW
724724
CHDChain chain;
725725
ssValue >> chain;
726726
pwallet->GetScriptPubKeyMan()->SetHDChain(chain, true);
727+
} else if (strType == "hdchain_sap") {
728+
CHDChain chain;
729+
ssValue >> chain;
730+
pwallet->GetSaplingScriptPubKeyMan()->SetHDChain(chain, true);
727731
} else if (strType == "sapzkey") {
728732
libzcash::SaplingIncomingViewingKey ivk;
729733
ssKey >> ivk;

0 commit comments

Comments
 (0)