Skip to content

Commit 736a57a

Browse files
committed
f Option, not OptionalField now. Plus P2TR.
1 parent 3f66463 commit 736a57a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/msgs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub struct OpenChannel {
196196
pub shutdown_scriptpubkey: OptionalField<Script>,
197197
/// The channel type that this channel will represent
198198
///
199-
/// If this is [`OptionalField::Absent`], we derive the channel type from the intersection of our
199+
/// If this is `None`, we derive the channel type from the intersection of our
200200
/// feature bits with our counterparty's feature bits from the [`Init`] message.
201201
pub channel_type: Option<ChannelTypeFeatures>,
202202
}
@@ -238,7 +238,7 @@ pub struct AcceptChannel {
238238
pub shutdown_scriptpubkey: OptionalField<Script>,
239239
/// The channel type that this channel will represent.
240240
///
241-
/// If this is [`OptionalField::Absent`], we derive the channel type from the intersection of
241+
/// If this is `None`, we derive the channel type from the intersection of
242242
/// our feature bits with our counterparty's feature bits from the [`Init`] message.
243243
/// This is required to match the equivalent field in [`OpenChannel::channel_type`].
244244
pub channel_type: Option<ChannelTypeFeatures>,

0 commit comments

Comments
 (0)