Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tapchannel/[bug]: if asset invoice amount in satoshi exceeds channel capacity, path finding spins indefinitely #1013

Closed
guggero opened this issue Jul 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working tap-channels
Milestone

Comments

@guggero
Copy link
Member

guggero commented Jul 11, 2024

When an invoice is attempted to be paid where the asset amount expressed in satoshi is larger than the actual satoshi capacity of the channel, then this check fails and the path finding algorithm thinks it cannot use the channel.
That leads to the path finding mechanism to try and split the amount into smaller and smaller pieces, but still failing to send the total because the sum still exceeds the capacity.

4-test_custom_channels_large-Dave-tmp__.log
3-test_custom_channels_large-Charlie-tmp__.log

@dstadulis
Copy link
Collaborator

Related to #1060

@GeorgeTsagk
Copy link
Member

Closed by lightningnetwork/lnd#8908

(commit: lightningnetwork/lnd@d80bca8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tap-channels
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants