mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-19 13:17:42 +02:00
routing: remove unused txout_state field in struct routing_channel.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
dbb7ea1e41
commit
76ff52b601
2 changed files with 0 additions and 8 deletions
|
|
@ -589,7 +589,6 @@ struct routing_channel *routing_channel_new(const tal_t *ctx,
|
|||
chan->connections[0] = chan->connections[1] = NULL;
|
||||
chan->nodes[0] = chan->nodes[1] = NULL;
|
||||
chan->txout_script = NULL;
|
||||
chan->state = TXOUT_FETCHING;
|
||||
chan->public = false;
|
||||
memset(&chan->msg_indexes, 0, sizeof(chan->msg_indexes));
|
||||
return chan;
|
||||
|
|
|
|||
|
|
@ -89,15 +89,8 @@ HTABLE_DEFINE_TYPE(struct node, node_map_keyof_node, node_map_hash_key, node_map
|
|||
struct pending_node_map;
|
||||
struct pending_cannouncement;
|
||||
|
||||
enum txout_state {
|
||||
TXOUT_FETCHING,
|
||||
TXOUT_PRESENT,
|
||||
TXOUT_MISSING
|
||||
};
|
||||
|
||||
struct routing_channel {
|
||||
struct short_channel_id scid;
|
||||
enum txout_state state;
|
||||
u8 *txout_script;
|
||||
|
||||
struct node_connection *connections[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue