File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11384,12 +11384,12 @@ 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.",
11392- self.context.minimum_depth.unwrap(), funding_tx_confirmations );
11391+ let err_reason = format!("Funding transaction was un-confirmed, originally locked at {} confs.",
11392+ self.context.minimum_depth.unwrap());
1139311393 return Err(ClosureReason::ProcessingError { err: err_reason });
1139411394 }
1139511395 }
You can’t perform that action at this time.
0 commit comments