However, to build that, we rely on LBtcSwapTx::size and BtcSwapTx::size from the Boltz client, which internally calculate the tx size only for the non-cooperative case.
This means we're now over-estimating the chain swap refund tx size and fees, as most refunds happen cooperatively.
prepare_refund
returns aHowever, to build that, we rely on
LBtcSwapTx::size
andBtcSwapTx::size
from the Boltz client, which internally calculate the tx size only for the non-cooperative case.This means we're now over-estimating the chain swap refund tx size and fees, as most refunds happen cooperatively.