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:
Rusty Russell
2018-03-14 02:13:55 +10:30
parent afe61cb841
commit 87effd90c2
3 changed files with 9 additions and 23 deletions

View File

@@ -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)