Minor update to address nits in review.

This commit is contained in:
Simon
2018-07-17 14:26:38 -07:00
parent f23e783600
commit 687bd96cbd
2 changed files with 4 additions and 4 deletions

View File

@@ -23,9 +23,9 @@ public:
TEST(noteencryption, NotePlaintext)
{
using namespace libzcash;
auto sk = SaplingSpendingKey(uint256()).expanded_spending_key();
auto vk = sk.full_viewing_key();
auto ivk = vk.in_viewing_key();
auto xsk = SaplingSpendingKey(uint256()).expanded_spending_key();
auto fvk = xsk.full_viewing_key();
auto ivk = fvk.in_viewing_key();
SaplingPaymentAddress addr = *ivk.address({0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0});
std::array<unsigned char, ZC_MEMO_SIZE> memo;