mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-23 10:52:39 +02:00
test: Implicitly sync after generate*, unless opted out
This commit is contained in:
@@ -38,7 +38,6 @@ class ListTransactionsTest(BitcoinTestFramework):
|
||||
self.log.info("Test confirmations change after mining a block")
|
||||
blockhash = self.generate(self.nodes[0], 1)[0]
|
||||
blockheight = self.nodes[0].getblockheader(blockhash)['height']
|
||||
self.sync_all()
|
||||
assert_array_result(self.nodes[0].listtransactions(),
|
||||
{"txid": txid},
|
||||
{"category": "send", "amount": Decimal("-0.1"), "confirmations": 1, "blockhash": blockhash, "blockheight": blockheight})
|
||||
|
Reference in New Issue
Block a user