File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2078,7 +2078,7 @@ mod fuzzy_internal_msgs {
2078
2078
pub struct InboundTrampolineEntrypointPayload {
2079
2079
pub amt_to_forward : u64 ,
2080
2080
pub outgoing_cltv_value : u32 ,
2081
- pub multipath_trampoline_data : FinalOnionHopData ,
2081
+ pub multipath_trampoline_data : Option < FinalOnionHopData > ,
2082
2082
pub trampoline_packet : TrampolineOnionPacket ,
2083
2083
/// The blinding point this hop needs to decrypt its Trampoline onion.
2084
2084
/// This is used for Trampoline hops that are not the blinded path intro hop.
@@ -3272,7 +3272,7 @@ impl<NS: Deref> ReadableArgs<(Option<PublicKey>, NS)> for InboundOnionPayload wh
3272
3272
return Ok ( Self :: TrampolineEntrypoint ( InboundTrampolineEntrypointPayload {
3273
3273
amt_to_forward : amt. ok_or ( DecodeError :: InvalidValue ) ?,
3274
3274
outgoing_cltv_value : cltv_value. ok_or ( DecodeError :: InvalidValue ) ?,
3275
- multipath_trampoline_data : payment_data. ok_or ( DecodeError :: InvalidValue ) ? ,
3275
+ multipath_trampoline_data : payment_data,
3276
3276
trampoline_packet : trampoline_onion_packet,
3277
3277
current_path_key : intro_node_blinding_point,
3278
3278
} ) )
You can’t perform that action at this time.
0 commit comments