Skip to content

Commit 42913aa

Browse files
committed
f - s/funding_created/funding_signed
1 parent 310503c commit 42913aa

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
@@ -8480,8 +8480,8 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
84808480
return Err((self, ChannelError::close("Received funding_signed in strange state!".to_owned())));
84818481
}
84828482
let mut holder_commitment_point = self.unfunded_context.holder_commitment_point
8483-
.expect("Holder commitment must be Some by the time we receive funding_created");
8484-
self.context.assert_no_commitment_advancement(holder_commitment_point.transaction_number(), "funding_created");
8483+
.expect("Holder commitment must be Some by the time we receive funding_signed");
8484+
self.context.assert_no_commitment_advancement(holder_commitment_point.transaction_number(), "funding_signed");
84858485

84868486
let (channel_monitor, _) = match self.initial_commitment_signed(
84878487
self.context.channel_id(), msg.signature,

0 commit comments

Comments
 (0)