Browse Source

cleanup: Removed broadcast_queue from dstate

This is a left-over from the gossip refactoring.
ppa-0.6.1
Christian Decker 8 years ago
parent
commit
eb75ae55e4
  1. 1
      daemon/lightningd.c
  2. 3
      daemon/lightningd.h

1
daemon/lightningd.c

@ -53,7 +53,6 @@ static struct lightningd_state *lightningd_state(void)
dstate->reexec = NULL;
dstate->external_ip = NULL;
dstate->announce = NULL;
list_head_init(&dstate->broadcast_queue);
dstate->invoices = invoices_init(dstate);
return dstate;
}

3
daemon/lightningd.h

@ -144,8 +144,5 @@ struct lightningd_state {
/* Announce timer. */
struct oneshot *announce;
/* Outgoing messages queued for the staggered broadcast */
struct list_head broadcast_queue;
};
#endif /* LIGHTNING_DAEMON_LIGHTNING_H */

Loading…
Cancel
Save