Skip to content

Conversation

@wqxoxo
Copy link
Contributor

@wqxoxo wqxoxo commented Nov 28, 2025

describe_scidd() was saying "for the invoice's route hint" for any error
when there was a single-hop route hint, even when the failure was on some
unrelated intermediate channel.

Now it checks the channel actually is the route hint before labeling it.

Fixes: #8252

describe_scidd() was labeling any channel as "the invoice's route hint"
when there was a single-hop route hint, even if the error occurred on
an unrelated intermediate channel.

Now we check the channel actually matches the route hint's
short_channel_id before using that label.

Fixes: ElementsProject#8252
Changelog-Fixed: xpay: error messages no longer incorrectly label intermediate channels as "the invoice's route hint".
@rustyrussell rustyrussell added this to the v25.12 milestone Nov 28, 2025
@rustyrussell rustyrussell merged commit 3c08a8b into ElementsProject:master Nov 28, 2025
32 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xpay: confusing logs "for the invoice's route hint"

2 participants