Skip to content

Commit c69e7e8

Browse files
committed
Adapt sapling_wallet_listreceived.py to the new wtx confirmation structure.
The block index initial value is 0, not -1 now.
1 parent c4952a2 commit c69e7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/sapling_wallet_listreceived.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def run_test(self):
9595
assert_false(r[0]['change'], "Note should not be change")
9696
assert_equal(my_memo_hex, r[0]['memo'])
9797
assert_equal(0, r[0]['confirmations'])
98-
assert_equal(-1, r[0]['blockindex'])
98+
assert_equal(0, r[0]['blockindex'])
9999
assert_equal(0, r[0]['blockheight'])
100100

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

0 commit comments

Comments
 (0)