Fix weight refund to use proper adjustment factor
Weight refund was not properly working when an adjustment factor != 0 is active. It always refunded the unadjusted weight fee when it should be refunding the adjusted one as this is the one that was deduced from the transactor. This also adds a test that checks the refund under an adjustment factor of 0.5.
parent
6349e1dd
Please register or sign in to comment