mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
gossipd: Revert 6afc7dcc09.
This bandaid was solved properly by 94711969f9
where other daemons say where they were up to.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -49,9 +49,10 @@ bool replace_broadcast(const tal_t *ctx,
|
||||
return evicted;
|
||||
}
|
||||
|
||||
struct queued_message *next_broadcast_message(struct broadcast_state *bstate, u64 last_index)
|
||||
struct queued_message *next_broadcast_message(struct broadcast_state *bstate,
|
||||
u64 *last_index)
|
||||
{
|
||||
return uintmap_after(&bstate->broadcasts, &last_index);
|
||||
return uintmap_after(&bstate->broadcasts, last_index);
|
||||
}
|
||||
|
||||
const u8 *get_broadcast(struct broadcast_state *bstate, u64 msgidx)
|
||||
|
||||
Reference in New Issue
Block a user