Skip to content

Commit d1d51b3

Browse files
committed
Update OnionMessage with link to BOLTs
1 parent bf87832 commit d1d51b3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lightning-types/src/features.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
//! - `SimpleClose` - requires/supports simplified closing negotiation
5555
//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#closing-negotiation-closing_complete-and-closing_sig) for more information).
5656
//! - `OnionMessages` - requires/supports forwarding onion messages
57-
//! (see [BOLT-7](https://github.com/lightning/bolts/pull/759/files) for more information).
58-
// TODO: update link
57+
//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#onion-messages) for more information).
5958
//! - `ChannelType` - node supports the channel_type field in open/accept
6059
//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
6160
//! - `SCIDPrivacy` - supply channel aliases for routing

lightning/src/ln/msgs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,9 +767,9 @@ pub struct UpdateAddHTLC {
767767
pub blinding_point: Option<PublicKey>,
768768
}
769769

770-
/// An onion message to be sent to or received from a peer.
770+
/// An [`onion message`] to be sent to or received from a peer.
771771
///
772-
// TODO: update with link to OM when they are merged into the BOLTs
772+
/// [`onion message`]: https://github.com/lightning/bolts/blob/master/04-onion-routing.md#onion-messages
773773
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
774774
pub struct OnionMessage {
775775
/// Used in decrypting the onion packet's payload.

0 commit comments

Comments
 (0)