We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aded08d commit d8851b4Copy full SHA for d8851b4
lightning/src/blinded_path/message.rs
@@ -784,8 +784,8 @@ pub(super) fn blinded_hops<T: secp256k1::Signing + secp256k1::Verification>(
784
if compact_padding {
785
debug_assert_eq!(res.serialized_length(), max_intermediate_len);
786
} 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.
+ // We don't currently ever push extra fields to intermediate hops, so they should
+ // never go over `MESSAGE_PADDING_ROUND_OFF`.
789
debug_assert_eq!(res.serialized_length(), MESSAGE_PADDING_ROUND_OFF);
790
}
791
res
0 commit comments