Skip to content

Commit d8851b4

Browse files
committed
f clearer comment
1 parent aded08d commit d8851b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/blinded_path/message.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ pub(super) fn blinded_hops<T: secp256k1::Signing + secp256k1::Verification>(
784784
if compact_padding {
785785
debug_assert_eq!(res.serialized_length(), max_intermediate_len);
786786
} else {
787-
// We don't currently ever push extra stuff to intermediate hops, so simply assert that
788-
// the fully-padded hops are always `MESSAGE_PADDING_ROUND_OFF` long.
787+
// We don't currently ever push extra fields to intermediate hops, so they should
788+
// never go over `MESSAGE_PADDING_ROUND_OFF`.
789789
debug_assert_eq!(res.serialized_length(), MESSAGE_PADDING_ROUND_OFF);
790790
}
791791
res

0 commit comments

Comments
 (0)