Skip to content

Commit ed42145

Browse files
committed
f: change InboundHTLCErr msg
1 parent fc23843 commit ed42145

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/onion_payment.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub(super) fn create_fwd_pending_htlc_info(
165165
InboundHTLCErr {
166166
reason,
167167
err_data,
168-
msg: "Underflow calculating outbound amount or CLTV value for Trampoline forward",
168+
msg: "Trampoline onion's amt or CLTV values exceeded the outer onion's",
169169
}
170170
})?;
171171
(
@@ -200,7 +200,7 @@ pub(super) fn create_fwd_pending_htlc_info(
200200
InboundHTLCErr {
201201
reason: LocalHTLCFailureReason::InvalidOnionBlinding,
202202
err_data: vec![0; 32],
203-
msg: "Underflow calculating outbound amount or CLTV value for Trampoline forward",
203+
msg: "Trampoline onion's amt or CLTV values exceeded the outer onion's",
204204
}
205205
})?;
206206
(
@@ -333,7 +333,7 @@ pub(super) fn create_recv_pending_htlc_info(
333333
InboundHTLCErr {
334334
reason,
335335
err_data,
336-
msg: "Underflow calculating skimmable amount or CLTV value for Trampoline receive",
336+
msg: "Trampoline onion's amt or CLTV values exceeded the outer onion's",
337337
}
338338
})?;
339339
(payment_data, keysend_preimage, custom_tlvs, sender_intended_htlc_amt_msat,
@@ -364,7 +364,7 @@ pub(super) fn create_recv_pending_htlc_info(
364364
InboundHTLCErr {
365365
reason: LocalHTLCFailureReason::InvalidOnionBlinding,
366366
err_data: vec![0; 32],
367-
msg: "Underflow calculating skimmable amount or CLTV value for Trampoline receive",
367+
msg: "Trampoline onion's amt or CLTV values exceeded the outer onion's",
368368
}
369369
})?;
370370
(Some(payment_data), keysend_preimage, custom_tlvs,

0 commit comments

Comments
 (0)