You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should OutputTooSmall and FeeTooHigh be treated as separate errors? #1871
Makes sense to use FeeTooHigh if there is room to go lower in that scenario. As far as I understand, the case from #1845 always calculate the fee at min_fee_rate already, so theres no rate left to go lower. In that case OutputTooSmall seems like the more appropriate error. In cases where the fee is higher than what it is being compared to (other than the upper fee bound itself) and has no room to go lower, OutputTooSmall would be the correct error
Activity
wslcb commentedon Sep 29, 2026
Makes sense to use
FeeTooHighif there is room to go lower in that scenario. As far as I understand, the case from #1845 always calculate the fee atmin_fee_ratealready, so theres no rate left to go lower. In that caseOutputTooSmallseems like the more appropriate error. In cases where the fee is higher than what it is being compared to (other than the upper fee bound itself) and has no room to go lower,OutputTooSmallwould be the correct error