Skip to content

Commit 07b7940

Browse files
committed
Add TxBuilder::subtract_non_htlc_outputs
When the `TxBuilder` API is made public in the future, this trait method will let creators of custom commitment transactions subtract any additional output amounts from the local and remote balances after the HTLCs have been accounted for. We leverage this API to account for today's 330 sat anchors.
1 parent 85cc09e commit 07b7940

File tree

2 files changed

+124
-110
lines changed

2 files changed

+124
-110
lines changed

0 commit comments

Comments
 (0)