Skip to content

Commit 4baa8a7

Browse files
committed
Rename TrampolineOnionPacket enum comment.
1 parent 68d5e88 commit 4baa8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/msgs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,7 @@ pub struct TrampolineOnionPacket {
17981798
// Unlike the onion packets used for payments, Trampoline onion packets have to be shorter than
17991799
// 1300 bytes. The expected default is 650 bytes.
18001800
// TODO: if 650 ends up being the most common size, optimize this to be:
1801-
// enum { ThirteenHundred([u8; 650]), VarLen(Vec<u8>) }
1801+
// enum { SixFifty([u8; 650]), VarLen(Vec<u8>) }
18021802
pub hop_data: Vec<u8>,
18031803
/// HMAC to verify the integrity of hop_data
18041804
pub hmac: [u8; 32],

0 commit comments

Comments
 (0)