fix rpc testcase
This commit is contained in:
parent
3a5235050b
commit
de47393848
|
@ -53,6 +53,9 @@ class ListReceivedTest (BitcoinTestFramework):
|
||||||
# Confirm transaction (1 ZEC from taddr to zaddr1)
|
# Confirm transaction (1 ZEC from taddr to zaddr1)
|
||||||
self.generate_and_sync(height+3)
|
self.generate_and_sync(height+3)
|
||||||
|
|
||||||
|
# adjust previous result because now there is one more confirmation
|
||||||
|
r[0]['confirmations'] += 1
|
||||||
|
|
||||||
# Require one confirmation, note should be present
|
# Require one confirmation, note should be present
|
||||||
assert_equal(r, self.nodes[1].z_listreceivedbyaddress(zaddr1))
|
assert_equal(r, self.nodes[1].z_listreceivedbyaddress(zaddr1))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue