mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 00:24:28 +01:00
gossipd: fix crash from gossip_store v10 changes
routing.c fixed to properly remove rate-limited gossip_store entries when channels are closed. This caused gossipd to crash on a subsequent gossip_store_load. Also corrects an overzealous limit of one gossip_store entry per message (should now allow one broadcastable and one rate-limited). Addresses issues 5387, 5395. Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
312751075c
commit
ddf8fbdb5d
@@ -25,7 +25,7 @@ static const char *reason;
|
||||
/* Generated stub for chainparams_by_chainhash */
|
||||
const struct chainparams *chainparams_by_chainhash(const struct bitcoin_blkid *chain_hash UNNEEDED)
|
||||
{ fprintf(stderr, "chainparams_by_chainhash called!\n"); abort(); }
|
||||
/* Generate std for chainparams_get_ln_port */
|
||||
/* Generated stub for chainparams_get_ln_port */
|
||||
int chainparams_get_ln_port(const struct chainparams *params UNNEEDED)
|
||||
{ fprintf(stderr, "chainparams_get_ln_port called!\n"); abort(); }
|
||||
/* Generated stub for fromwire_channel_id */
|
||||
|
||||
Reference in New Issue
Block a user