From 71144c6ae29fd63259f721c811124c658f12c050 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 4 May 2024 03:41:10 +0000 Subject: [PATCH] fixup! test: Add mempool fee histogram test coverage --- test/functional/mempool_fee_histogram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/mempool_fee_histogram.py b/test/functional/mempool_fee_histogram.py index f024cac6a0417c..8fdcc6bc225fa8 100755 --- a/test/functional/mempool_fee_histogram.py +++ b/test/functional/mempool_fee_histogram.py @@ -93,9 +93,9 @@ def run_test(self): assert_equal(0, info['fee_histogram']['3']['fees']) assert_equal(3, info['fee_histogram']['3']['from_feerate']) - assert_equal(188, info['fee_histogram']['5']['sizes']) + assert_equal(tx1_info['vsize'], info['fee_histogram']['5']['sizes']) assert_equal(1, info['fee_histogram']['5']['count']) - assert_equal(940, info['fee_histogram']['5']['fees']) + assert_equal(tx1_info['fee'], info['fee_histogram']['5']['fees']) assert_equal(5, info['fee_histogram']['5']['from_feerate']) assert_equal(0, info['fee_histogram']['10']['sizes'])