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
When using anchor outputs, the mutual close fee is allowed to be greater
than the commit tx fee, because we're targeting a specific confirmation
window.
if (remoteClosingFee > lastCommitFeeSatoshi&&!commitments.channelVersion.hasAnchorOutputs) {
460
464
log.error(s"remote proposed a commit fee higher than the last commitment fee: remoteClosingFeeSatoshi=${remoteClosingFee.toLong} lastCommitFeeSatoshi=$lastCommitFeeSatoshi")
assert(closingTx.txOut.length ===2) // NB: in the anchor outputs case, anchors are removed from the closing tx
109
+
assert(aliceCloseSig2.feeSatoshis >Transactions.weight2fee(FeeEstimator.AnchorOutputMaxCommitFeerate, closingTx.weight())) // NB: closing fee is allowed to be higher than commit tx fee when using anchor outputs
0 commit comments