Remove invalid address comparison from gtest
Addresses cannot be computed from a "null" extended spending key, because the resulting ak is not of prime order.
This commit is contained in:
parent
f270979acb
commit
4d13eb71ab
|
@ -479,7 +479,6 @@ TEST(wallet_zkeys_tests, WriteCryptedSaplingZkeyDirectToDb) {
|
||||||
// spending key is crypted, so we can't extract valid payment address
|
// spending key is crypted, so we can't extract valid payment address
|
||||||
libzcash::SaplingExtendedSpendingKey keyOut;
|
libzcash::SaplingExtendedSpendingKey keyOut;
|
||||||
EXPECT_FALSE(wallet2.GetSaplingExtendedSpendingKey(address, keyOut));
|
EXPECT_FALSE(wallet2.GetSaplingExtendedSpendingKey(address, keyOut));
|
||||||
ASSERT_FALSE(address == keyOut.DefaultAddress());
|
|
||||||
|
|
||||||
// address -> ivk mapping is not crypted
|
// address -> ivk mapping is not crypted
|
||||||
libzcash::SaplingIncomingViewingKey ivkOut;
|
libzcash::SaplingIncomingViewingKey ivkOut;
|
||||||
|
|
Loading…
Reference in New Issue