aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_rest.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-02-22 19:37:23 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-02-22 19:37:38 +0100
commitfaeed91c0be6e5dda4790522d0dc999afd869d11 (patch)
tree743f102704ba534776d45457d612add1233a34f4 /test/functional/interface_rest.py
parent88b1229c134fa006d9a57e908ebebec944419347 (diff)
downloadbitcoin-faeed91c0be6e5dda4790522d0dc999afd869d11.tar.xz
test: Fix intermittent issue in interface_rest.py
Diffstat (limited to 'test/functional/interface_rest.py')
-rwxr-xr-xtest/functional/interface_rest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py
index b81eae2506..05aa40bbfe 100755
--- a/test/functional/interface_rest.py
+++ b/test/functional/interface_rest.py
@@ -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