Skip to content
Unverified Commit d6b0db10 authored by Alexander Theißen's avatar Alexander Theißen
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment