Skip to content

Commit e00cf5c

Browse files
committed
f fix panic message for get_initial_commitment_signed
1 parent e28c2dc commit e00cf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4003,7 +4003,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
40034003
if !matches!(
40044004
self.channel_state, ChannelState::NegotiatingFunding(flags)
40054005
if flags == (NegotiatingFundingFlags::OUR_INIT_SENT | NegotiatingFundingFlags::THEIR_INIT_SENT)) {
4006-
panic!("Tried to get a funding_created messsage at a time other than immediately after initial handshake completion (or tried to get funding_created twice)");
4006+
panic!("Tried to get an initial commitment_signed messsage at a time other than immediately after initial handshake completion (or tried to get funding_created twice)");
40074007
}
40084008
self.assert_no_commitment_advancement("initial commitment_signed");
40094009

0 commit comments

Comments
 (0)