Skip to content

Commit 51dde37

Browse files
committed
f fixes
1 parent b4f7fdf commit 51dde37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11384,11 +11384,11 @@ where
1138411384
} else {
1138511385
debug_assert!(false);
1138611386
}
11387-
if self.context.minimum_depth(&self.funding).expect("set for a ready channel") > 1 {
11387+
if self.context.minimum_depth(&self.funding).expect("set for a ready channel") > 0 {
1138811388
// Reset the original short_channel_id so that we'll generate a closure
1138911389
// `channel_update` broadcast event.
1139011390
self.funding.short_channel_id = original_scid;
11391-
let err_reason = format!("Funding transaction was un-confirmed. Locked at {} confs, now have {} confs.",
11391+
let err_reason = format!("Funding transaction was un-confirmed, originally locked at {} confs.",
1139211392
self.context.minimum_depth.unwrap(), funding_tx_confirmations);
1139311393
return Err(ClosureReason::ProcessingError { err: err_reason });
1139411394
}

0 commit comments

Comments
 (0)