Skip to content

Commit a258d01

Browse files
committed
f: last tramp error
1 parent 7a875d2 commit a258d01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/util/errors.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ pub(crate) fn get_onion_error_description(error_code: u16) -> (&'static str, &'s
145145
_c if _c == 21 => ("Node indicated the CLTV expiry in the HTLC is too far in the future", "expiry_too_far"),
146146
_c if _c == PERM|22 => ("Node indicated that the decrypted onion per-hop payload was not understood by it or is incomplete", "invalid_onion_payload"),
147147
_c if _c == 23 => ("The final node indicated the complete amount of the multi-part payment was not received within a reasonable time", "mpp_timeout"),
148-
_c if _c == NODE|25 => ("The Trampoline node was unable to relay the payment to the subsequent Trampoline node.", "temporary_trampoline_failure"),
148+
_c if _c == NODE|25 => ("The Trampoline node was unable to relay the payment to the subsequent Trampoline node", "temporary_trampoline_failure"),
149149
_c if _c == NODE|26 => ("Node indicated the fee amount or CLTV value was below that required by the Trampoline node", "trampoline_fee_or_expiry_insufficient"),
150+
_c if _c == PERM|27 => ("The next Trampoline node specified in outgoing_node_id could not be found", "unknown_next_trampoline"),
150151
_ => ("Unknown", ""),
151152
}
152153
}

0 commit comments

Comments
 (0)