Skip to content

Commit 10295e1

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

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
@@ -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)