mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
cleanup: Removed broadcast_queue from dstate
This is a left-over from the gossip refactoring.
This commit is contained in:
@@ -53,7 +53,6 @@ static struct lightningd_state *lightningd_state(void)
|
|||||||
dstate->reexec = NULL;
|
dstate->reexec = NULL;
|
||||||
dstate->external_ip = NULL;
|
dstate->external_ip = NULL;
|
||||||
dstate->announce = NULL;
|
dstate->announce = NULL;
|
||||||
list_head_init(&dstate->broadcast_queue);
|
|
||||||
dstate->invoices = invoices_init(dstate);
|
dstate->invoices = invoices_init(dstate);
|
||||||
return dstate;
|
return dstate;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,8 +144,5 @@ struct lightningd_state {
|
|||||||
|
|
||||||
/* Announce timer. */
|
/* Announce timer. */
|
||||||
struct oneshot *announce;
|
struct oneshot *announce;
|
||||||
|
|
||||||
/* Outgoing messages queued for the staggered broadcast */
|
|
||||||
struct list_head broadcast_queue;
|
|
||||||
};
|
};
|
||||||
#endif /* LIGHTNING_DAEMON_LIGHTNING_H */
|
#endif /* LIGHTNING_DAEMON_LIGHTNING_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user