@@ -1684,7 +1684,7 @@ pub enum LocalHTLCFailureReason {
16841684 /// The amount or CLTV expiry were insufficient to route the payment to the next Trampoline.
16851685 TrampolineFeeOrExpiryInsufficient ,
16861686 /// The specified next Trampoline node cannot be reached from our node.
1687- UnkonwnNextTrampoline ,
1687+ UnknownNextTrampoline ,
16881688}
16891689
16901690impl LocalHTLCFailureReason {
@@ -1727,7 +1727,7 @@ impl LocalHTLCFailureReason {
17271727 Self :: InvalidOnionBlinding => BADONION | PERM | 24 ,
17281728 Self :: TemporaryTrampolineFailure => PERM | 25 ,
17291729 Self :: TrampolineFeeOrExpiryInsufficient => PERM | 26 ,
1730- Self :: UnkonwnNextTrampoline => PERM | 27 ,
1730+ Self :: UnknownNextTrampoline => PERM | 27 ,
17311731 Self :: UnknownFailureCode { code } => * code,
17321732 }
17331733 }
@@ -1864,7 +1864,7 @@ impl_writeable_tlv_based_enum!(LocalHTLCFailureReason,
18641864 ( 83 , PeerOffline ) => { } ,
18651865 ( 85 , TemporaryTrampolineFailure ) => { } ,
18661866 ( 87 , TrampolineFeeOrExpiryInsufficient ) => { } ,
1867- ( 89 , UnkonwnNextTrampoline ) => { } ,
1867+ ( 89 , UnknownNextTrampoline ) => { } ,
18681868) ;
18691869
18701870impl From < & HTLCFailReason > for HTLCHandlingFailureReason {
@@ -2035,7 +2035,7 @@ impl HTLCFailReason {
20352035 LocalHTLCFailureReason :: TrampolineFeeOrExpiryInsufficient => {
20362036 debug_assert ! ( data. is_empty( ) )
20372037 } ,
2038- LocalHTLCFailureReason :: UnkonwnNextTrampoline => debug_assert ! ( data. is_empty( ) ) ,
2038+ LocalHTLCFailureReason :: UnknownNextTrampoline => debug_assert ! ( data. is_empty( ) ) ,
20392039 }
20402040
20412041 Self ( HTLCFailReasonRepr :: Reason { data, failure_reason } )
0 commit comments