diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-02-22 19:37:23 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-02-22 19:37:38 +0100 |
commit | faeed91c0be6e5dda4790522d0dc999afd869d11 (patch) | |
tree | 743f102704ba534776d45457d612add1233a34f4 /test | |
parent | 88b1229c134fa006d9a57e908ebebec944419347 (diff) |
test: Fix intermittent issue in interface_rest.py
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/interface_rest.py | 3 |
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 |