Closed
Description
LDK reserves funds from the fee paying party for two anchors, but in the case where we only need one anchor this balance goes to fees rather than back to the fee paying party.
build_commitment_stats
will subtract balance for two anchors when preparing commitment transactionsinsert_non_htlc_outputs
correctly only adds anchors if the respective parties need them
Confirmed with a test.
Metadata
Metadata
Assignees
Labels
No labels