Skip to content

Commit

Permalink
Remove post processing for anchor chan fee
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Jul 3, 2024
1 parent 34078eb commit f7a32f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mutiny-core/src/fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ impl<S: MutinyStorage> FeeEstimator for MutinyFeeEstimator<S> {
match confirmation_target {
ConfirmationTarget::MinAllowedNonAnchorChannelRemoteFee => fee - 250, // helps with rounding errors
ConfirmationTarget::MinAllowedAnchorChannelRemoteFee => 250, // just pin to 1 sat/vbyte to prevent force closes
ConfirmationTarget::AnchorChannelFee => (fee / 2).max(250), // do half the mempool minimum just to prevent force closes
_ => fee,
}
}
Expand Down

0 comments on commit f7a32f3

Please sign in to comment.