@@ -429,6 +429,7 @@ pub(crate) struct DecodedOnionFailure {
429429 pub ( crate ) network_update : Option < NetworkUpdate > ,
430430 pub ( crate ) short_channel_id : Option < u64 > ,
431431 pub ( crate ) payment_failed_permanently : bool ,
432+ pub ( crate ) failed_within_blinded_path : bool ,
432433 #[ cfg( test) ]
433434 pub ( crate ) onion_error_code : Option < u16 > ,
434435 #[ cfg( test) ]
@@ -725,7 +726,7 @@ pub(super) fn process_onion_failure<T: secp256k1::Signing, L: Deref>(
725726 network_update, short_channel_id, payment_failed_permanently, failed_within_blinded_path
726727 } ) = res {
727728 DecodedOnionFailure {
728- network_update, short_channel_id, payment_failed_permanently,
729+ network_update, short_channel_id, payment_failed_permanently, failed_within_blinded_path ,
729730 #[ cfg( test) ]
730731 onion_error_code : error_code_ret,
731732 #[ cfg( test) ]
@@ -736,6 +737,7 @@ pub(super) fn process_onion_failure<T: secp256k1::Signing, L: Deref>(
736737 // payment not retryable only when garbage is from the final node
737738 DecodedOnionFailure {
738739 network_update : None , short_channel_id : None , payment_failed_permanently : is_from_final_node,
740+ failed_within_blinded_path : false ,
739741 #[ cfg( test) ]
740742 onion_error_code : None ,
741743 #[ cfg( test) ]
@@ -883,6 +885,7 @@ impl HTLCFailReason {
883885 network_update : None ,
884886 payment_failed_permanently : false ,
885887 short_channel_id : Some ( path. hops [ 0 ] . short_channel_id ) ,
888+ failed_within_blinded_path : false ,
886889 #[ cfg( test) ]
887890 onion_error_code : Some ( * failure_code) ,
888891 #[ cfg( test) ]
0 commit comments