mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-10 21:36:17 +01:00
Fix documentation on onion message packet ControlTlvs
This commit is contained in:
parent
0ddd3cb684
commit
ebb0676e85
1 changed files with 3 additions and 3 deletions
|
@ -264,9 +264,9 @@ ReadableArgs<(SharedSecret, &H, &L)> for Payload<<H as CustomOnionMessageHandler
|
|||
}
|
||||
|
||||
/// When reading a packet off the wire, we don't know a priori whether the packet is to be forwarded
|
||||
/// or received. Thus we read a ControlTlvs rather than reading a ForwardControlTlvs or
|
||||
/// ReceiveControlTlvs directly. Also useful on the encoding side to keep forward and receive TLVs
|
||||
/// in the same iterator.
|
||||
/// or received. Thus we read a `ControlTlvs` rather than reading a [`ForwardTlvs`] or
|
||||
/// [`ReceiveTlvs`] directly. Also useful on the encoding side to keep forward and receive TLVs in
|
||||
/// the same iterator.
|
||||
pub(crate) enum ControlTlvs {
|
||||
/// This onion message is intended to be forwarded.
|
||||
Forward(ForwardTlvs),
|
||||
|
|
Loading…
Add table
Reference in a new issue