|
|
@ -1230,9 +1230,8 @@ UniValue z_exportivk(const UniValue& params, bool fHelp, const CPubKey& mypk) |
|
|
|
libzcash::SaplingIncomingViewingKey ivk; |
|
|
|
if (!pwalletMain->GetSaplingIncomingViewingKey(spa, ivk)) { |
|
|
|
throw JSONRPCError(RPC_WALLET_ERROR, "Wallet does not hold viewing key for this zaddr"); |
|
|
|
} else { |
|
|
|
return EncodeIVK(ivk); |
|
|
|
} |
|
|
|
return EncodeIVK(ivk); |
|
|
|
} |
|
|
|
|
|
|
|
UniValue z_importivk(const UniValue& params, bool fHelp, const CPubKey& mypk) |
|
|
|