Skip to content

Commit

Permalink
Adapt sapling_wallet_listreceived.py to the new wtx confirmation stru…
Browse files Browse the repository at this point in the history
…cture.

The block index initial value is 0, not -1 now.
  • Loading branch information
furszy committed Mar 10, 2021
1 parent c4952a2 commit c69e7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/sapling_wallet_listreceived.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def run_test(self):
assert_false(r[0]['change'], "Note should not be change")
assert_equal(my_memo_hex, r[0]['memo'])
assert_equal(0, r[0]['confirmations'])
assert_equal(-1, r[0]['blockindex'])
assert_equal(0, r[0]['blockindex'])
assert_equal(0, r[0]['blockheight'])

c = self.nodes[1].getsaplingnotescount(0)
Expand Down

0 comments on commit c69e7e8

Please sign in to comment.