@@ -1684,7 +1684,7 @@ pub enum LocalHTLCFailureReason {
1684
1684
/// The amount or CLTV expiry were insufficient to route the payment to the next Trampoline.
1685
1685
TrampolineFeeOrExpiryInsufficient ,
1686
1686
/// The specified next Trampoline node cannot be reached from our node.
1687
- UnkonwnNextTrampoline ,
1687
+ UnknownNextTrampoline ,
1688
1688
}
1689
1689
1690
1690
impl LocalHTLCFailureReason {
@@ -1727,7 +1727,7 @@ impl LocalHTLCFailureReason {
1727
1727
Self :: InvalidOnionBlinding => BADONION | PERM | 24 ,
1728
1728
Self :: TemporaryTrampolineFailure => PERM | 25 ,
1729
1729
Self :: TrampolineFeeOrExpiryInsufficient => PERM | 26 ,
1730
- Self :: UnkonwnNextTrampoline => PERM | 27 ,
1730
+ Self :: UnknownNextTrampoline => PERM | 27 ,
1731
1731
Self :: UnknownFailureCode { code } => * code,
1732
1732
}
1733
1733
}
@@ -1864,7 +1864,7 @@ impl_writeable_tlv_based_enum!(LocalHTLCFailureReason,
1864
1864
( 83 , PeerOffline ) => { } ,
1865
1865
( 85 , TemporaryTrampolineFailure ) => { } ,
1866
1866
( 87 , TrampolineFeeOrExpiryInsufficient ) => { } ,
1867
- ( 89 , UnkonwnNextTrampoline ) => { } ,
1867
+ ( 89 , UnknownNextTrampoline ) => { } ,
1868
1868
) ;
1869
1869
1870
1870
impl From < & HTLCFailReason > for HTLCHandlingFailureReason {
@@ -2035,7 +2035,7 @@ impl HTLCFailReason {
2035
2035
LocalHTLCFailureReason :: TrampolineFeeOrExpiryInsufficient => {
2036
2036
debug_assert ! ( data. is_empty( ) )
2037
2037
} ,
2038
- LocalHTLCFailureReason :: UnkonwnNextTrampoline => debug_assert ! ( data. is_empty( ) ) ,
2038
+ LocalHTLCFailureReason :: UnknownNextTrampoline => debug_assert ! ( data. is_empty( ) ) ,
2039
2039
}
2040
2040
2041
2041
Self ( HTLCFailReasonRepr :: Reason { data, failure_reason } )
0 commit comments