Skip to content

Commit 7b05135

Browse files
committed
Fix blinded Trampoline TLV IDs
Trivial fix where the Trampoline hop TLV inside blinded contexts differs from un-blinded ones.
1 parent b64d199 commit 7b05135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/blinded_path/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,10 @@ impl Readable for BlindedPaymentTlvs {
595595
impl Readable for BlindedTrampolineTlvs {
596596
fn read<R: io::Read>(r: &mut R) -> Result<Self, DecodeError> {
597597
_init_and_read_tlv_stream!(r, {
598+
(4, next_trampoline, option),
598599
(8, next_blinding_override, option),
599600
(10, payment_relay, option),
600601
(12, payment_constraints, required),
601-
(14, next_trampoline, option),
602602
(14, features, (option, encoding: (BlindedHopFeatures, WithoutLength))),
603603
(65536, payment_secret, option),
604604
(65537, payment_context, option),

0 commit comments

Comments
 (0)