-
Notifications
You must be signed in to change notification settings - Fork 902
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
gossmap: ensure chan not null #7685
Conversation
Ignore localmods that don't have a corresponding entry in the gossmap. Changelog-Fixed: pay plugin crash with incomplete gossmap
Encountered similar issue after overnight power surge. Was able to get lightning started but appears stuck in infinite loop with following two lines repeating for one particular channel at the same offsets. The output occurs on line 471 in gossmap.c Added following lines as shown in single changed file and recompiled - no change. ---FINAL UPDATE---
Terminal output after original attempt at restarting lightningd shown belowlightning_gossipd: gossip_store: get delete entry offset 34356327/14528 (version v24.08.1-modded) |
Ack! This is the same as bc1aabb which is already in master: @ShahanaFarooqui might want to cherry-pick that for the branch instead? |
This was already deployed as part of |
Ignore localmods that don't have a corresponding entry in the gossmap.
A crash was observed on this branch: https://github.com/breez/lightning/tree/cln-v24.08-breez with commit breez@bc9e4f5
The branch contains changes compared to v24.08, namely
But I don't think they were related to the crash.
A simple null check should suffice here?
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked: