Skip to content

Commit 5b5b34b

Browse files
committed
Fix typo
1 parent a880794 commit 5b5b34b

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
@@ -1095,7 +1095,7 @@ impl<Signer: Sign> Channel<Signer> {
10951095
return Err(ChannelError::Close("Channel Type was not understood".to_owned()));
10961096
}
10971097

1098-
if *channel_type.requires_scid_privacy() && announced_channel {
1098+
if channel_type.requires_scid_privacy() && announced_channel {
10991099
return Err(ChannelError::Close("SCID Alias/Privacy Channel Type cannot be set on a public channel".to_owned()));
11001100
}
11011101
}

0 commit comments

Comments
 (0)