diff --git a/lightningd/chaintopology.c b/lightningd/chaintopology.c index 451226062..105eeb7ac 100644 --- a/lightningd/chaintopology.c +++ b/lightningd/chaintopology.c @@ -381,7 +381,6 @@ static struct block *new_block(struct chain_topology *topo, assert(!block_map_get(&topo->block_map, &b->blkid)); b->next = NULL; b->prev = NULL; - b->topo = topo; b->height = height; diff --git a/lightningd/chaintopology.h b/lightningd/chaintopology.h index 6f5c24b0f..48669d8f3 100644 --- a/lightningd/chaintopology.h +++ b/lightningd/chaintopology.h @@ -57,9 +57,6 @@ struct block { /* Full copy of txs (trimmed to txs list in connect_block) */ struct bitcoin_tx **full_txs; - - /* FIXME: Remove this. */ - struct chain_topology *topo; }; /* Hash blocks by sha */