mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01: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
@ -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…
Reference in New Issue
Block a user