Skip to content

Commit a293d21

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 0c82cc2 commit a293d21

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
@@ -592,10 +592,10 @@ impl Readable for BlindedPaymentTlvs {
592592
impl Readable for BlindedTrampolineTlvs {
593593
fn read<R: io::Read>(r: &mut R) -> Result<Self, DecodeError> {
594594
_init_and_read_tlv_stream!(r, {
595+
(4, next_trampoline, option),
595596
(8, next_blinding_override, option),
596597
(10, payment_relay, option),
597598
(12, payment_constraints, required),
598-
(14, next_trampoline, option),
599599
(14, features, (option, encoding: (BlindedHopFeatures, WithoutLength))),
600600
(65536, payment_secret, option),
601601
(65537, payment_context, option),

0 commit comments

Comments
 (0)