routing: remove unused txout_state field in struct routing_channel.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-02-28 06:25:22 +10:30 committed by Christian Decker
parent dbb7ea1e41
commit 76ff52b601
2 changed files with 0 additions and 8 deletions

View File

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

View File

@ -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];