Add support for importing and exporting sapling ivk
This commit is contained in:
committed by
Jane Mercer
parent
cb0043115d
commit
191fc2e152
@@ -82,6 +82,9 @@ TEST(wallet_zkeys_tests, StoreAndLoadSaplingZkeys) {
|
||||
EXPECT_TRUE(wallet.HaveSaplingIncomingViewingKey(sk.DefaultAddress()));
|
||||
EXPECT_TRUE(wallet.HaveSaplingIncomingViewingKey(dpa));
|
||||
|
||||
// verify that resets nTimeFirstKey, since there is no birthday info for watch-only keys
|
||||
EXPECT_EQ(wallet.nTimeFirstKey, 1);
|
||||
|
||||
// Load a third key into the wallet
|
||||
auto sk2 = m.Derive(1);
|
||||
ASSERT_TRUE(wallet.LoadSaplingZKey(sk2));
|
||||
|
||||
Reference in New Issue
Block a user