Skip to content

Commit 0aa11b9

Browse files
committed
QA: interface_rest: Check /mempool/info/with_fee_histogram matches RPC
1 parent 9ebe860 commit 0aa11b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/interface_rest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ def run_test(self):
345345
for obj in [json_obj, mempool_info]:
346346
obj.pop("unbroadcastcount")
347347
assert_equal(json_obj, mempool_info)
348+
json_obj = self.test_rest_request("/mempool/info/with_fee_histogram")
349+
mempool_info = self.nodes[0].getmempoolinfo(with_fee_histogram=True)
350+
assert_equal(json_obj, mempool_info)
348351

349352
# Check that there are our submitted transactions in the TX memory pool
350353
json_obj = self.test_rest_request("/mempool/contents")

0 commit comments

Comments
 (0)