-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were doing a couple of things wrong with the `extra_fee`, which is normally used to account for potential buffer transaction fees when setting up a DLC channel: - We were not splitting the cost of the `extra_fee` between both parties. Instead, we were accounting for it _twice_, deducted in full from both the change output of the offer party and the accept party. - We were using the "extra" `extra_fee` to pay more transaction fees for the funding transaction. This is usually a completely unnecessary overpayment.
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❓ I guess the
*_cet_fee
is also used for the refund transaction right? In the validation it's calledcet_or_refund_fee
.