mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 22:20:44 +02:00
QA: interface_rest: Check /mempool/info/with_fee_histogram matches RPC
This commit is contained in:
parent
0bfca0cf32
commit
966644d79b
@ -338,6 +338,9 @@ class RESTTest (BitcoinTestFramework):
|
|||||||
|
|
||||||
mempool_info = self.nodes[0].getmempoolinfo()
|
mempool_info = self.nodes[0].getmempoolinfo()
|
||||||
assert_equal(json_obj, mempool_info)
|
assert_equal(json_obj, mempool_info)
|
||||||
|
json_obj = self.test_rest_request("/mempool/info/with_fee_histogram")
|
||||||
|
mempool_info = self.nodes[0].getmempoolinfo(with_fee_histogram=True)
|
||||||
|
assert_equal(json_obj, mempool_info)
|
||||||
|
|
||||||
# Check that there are our submitted transactions in the TX memory pool
|
# Check that there are our submitted transactions in the TX memory pool
|
||||||
json_obj = self.test_rest_request("/mempool/contents")
|
json_obj = self.test_rest_request("/mempool/contents")
|
||||||
|
Loading…
Reference in New Issue
Block a user