mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
test: Fix intermittent issue in interface_rest.py
This commit is contained in:
parent
88b1229c13
commit
faeed91c0b
1 changed files with 3 additions and 0 deletions
|
@ -337,6 +337,9 @@ class RESTTest (BitcoinTestFramework):
|
|||
assert_greater_than(json_obj['bytes'], 300)
|
||||
|
||||
mempool_info = self.nodes[0].getmempoolinfo()
|
||||
# pop unstable unbroadcastcount before check
|
||||
for obj in [json_obj, mempool_info]:
|
||||
obj.pop("unbroadcastcount")
|
||||
assert_equal(json_obj, mempool_info)
|
||||
|
||||
# Check that there are our submitted transactions in the TX memory pool
|
||||
|
|
Loading…
Add table
Reference in a new issue