File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -222,10 +222,10 @@ pub(crate) const CLTV_CLAIM_BUFFER: u32 = 18;
222
222
pub ( crate ) const LATENCY_GRACE_PERIOD_BLOCKS : u32 = 3 ;
223
223
/// Number of blocks we wait on seeing a HTLC output being solved before we fail corresponding inbound
224
224
/// HTLCs. This prevents us from failing backwards and then getting a reorg resulting in us losing money.
225
- /// We use also this delay to be sure we can remove our in-flight claim txn from bump candidates buffer.
226
- /// It may cause spurrious generation of bumped claim txn but that's allright given the outpoint is already
227
- /// solved by a previous claim tx. What we want to avoid is reorg evicting our claim tx and us not
228
- /// keeping bumping another claim tx to solve the outpoint.
225
+ // We also use this delay to be sure we can remove our in-flight claim txn from bump candidates buffer.
226
+ // It may cause spurious generation of bumped claim txn but that's alright given the outpoint is already
227
+ // solved by a previous claim tx. What we want to avoid is reorg evicting our claim tx and us not
228
+ // keep bumping another claim tx to solve the outpoint.
229
229
pub const ANTI_REORG_DELAY : u32 = 6 ;
230
230
/// Number of blocks before confirmation at which we fail back an un-relayed HTLC or at which we
231
231
/// refuse to accept a new HTLC.
You can’t perform that action at this time.
0 commit comments