Skip to content

Commit c42f094

Browse files
committed
ln: improve error message for blinded trampoline check failure
1 parent 3e186bc commit c42f094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/onion_payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ where
649649
) {
650650
Ok((amt, cltv)) => (amt, cltv),
651651
Err(()) => {
652-
return encode_relay_error("Trampoline blinded forward amt or CLTV values exceeded the outer onion's",
652+
return encode_relay_error("Underflow calculating outbound amount or cltv value for blinded trampoline forward",
653653
LocalHTLCFailureReason::InvalidOnionBlinding, outer_shared_secret.secret_bytes(), Some(trampoline_shared_secret.secret_bytes()), &[0; 32]);
654654
}
655655
};

0 commit comments

Comments
 (0)