Skip to content

Commit b63e631

Browse files
committed
f: use current_path_key from outer onion for decoding Trampoline onions
this is a bug fix of a previous oversight
1 parent 9616c2c commit b63e631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/onion_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ where
19271927
&hop_data.trampoline_packet.hop_data,
19281928
hop_data.trampoline_packet.hmac,
19291929
Some(payment_hash),
1930-
(blinding_point, node_signer),
1930+
(hop_data.current_path_key, node_signer),
19311931
);
19321932
match decoded_trampoline_hop {
19331933
Ok((

0 commit comments

Comments
 (0)