Browse Source

Fix inaccurate comments in test.

pull/4/head
Simon 6 years ago
parent
commit
9fe34549b1
  1. 4
      src/wallet/gtest/test_wallet.cpp

4
src/wallet/gtest/test_wallet.cpp

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

Loading…
Cancel
Save