mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Bugfix: QA: mempool_fee_histogram: Compare to actual vsize/fee rather than hard-coding a particular constant
This commit is contained in:
parent
514352ba26
commit
14b872b852
@ -93,9 +93,9 @@ class MempoolFeeHistogramTest(BitcoinTestFramework):
|
||||
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'])
|
||||
|
Loading…
Reference in New Issue
Block a user