Skip to content

Commit 70acdbc

Browse files
committed
fix doc comments
1 parent a47ccaa commit 70acdbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/onion_message/packet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ pub(super) const BIG_PACKET_HOP_DATA_LEN: usize = 32768;
3737
pub struct Packet {
3838
/// Bolt 04 version number
3939
pub version: u8,
40-
/// The PublicKey used during shared secret generation
40+
/// A random sepc256k1 point, used to build the ECDH shared secret to decrypt hop_data
4141
pub public_key: PublicKey,
42-
/// 1300 bytes payload for the next hop
42+
/// Encrypted payload for the next hop
4343
//
4444
// Unlike the onion packets used for payments, onion message packets can have payloads greater
4545
// than 1300 bytes.

0 commit comments

Comments
 (0)