mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-03 16:02:34 +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
29961a9421
commit
fb9f45e19e
@ -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