Fix inaccurate comments in test.

This commit is contained in:
Simon
2018-08-07 09:59:23 -07:00
parent 668ca2974a
commit 9fe34549b1

View File

@@ -603,7 +603,7 @@ TEST(WalletTests, SaplingNullifierIsSpent) {
ASSERT_TRUE(nf); ASSERT_TRUE(nf);
uint256 nullifier = nf.get(); uint256 nullifier = nf.get();
// Verify nullifier is unused // Verify note has not been spent
EXPECT_FALSE(wallet.IsSaplingSpent(nullifier)); EXPECT_FALSE(wallet.IsSaplingSpent(nullifier));
// Fake-mine the transaction // Fake-mine the transaction
@@ -621,7 +621,7 @@ TEST(WalletTests, SaplingNullifierIsSpent) {
wtx.SetMerkleBranch(block); wtx.SetMerkleBranch(block);
wallet.AddToWallet(wtx, true, NULL); wallet.AddToWallet(wtx, true, NULL);
// Verify nullifier is unused // Verify note has been spent
EXPECT_TRUE(wallet.IsSaplingSpent(nullifier)); EXPECT_TRUE(wallet.IsSaplingSpent(nullifier));
// Tear down // Tear down