mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd/chaintopology.h: Remove unused txnums field from struct block.
Changelog-None internal cleanup
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
af4eec7b66
commit
b646b96756
@@ -840,7 +840,6 @@ static struct block *new_block(struct chain_topology *topo,
|
|||||||
|
|
||||||
b->hdr = blk->hdr;
|
b->hdr = blk->hdr;
|
||||||
|
|
||||||
b->txnums = tal_arr(b, u32, 0);
|
|
||||||
b->full_txs = tal_steal(b, blk->tx);
|
b->full_txs = tal_steal(b, blk->tx);
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
|
|||||||
@@ -60,10 +60,7 @@ struct block {
|
|||||||
/* Key for hash table */
|
/* Key for hash table */
|
||||||
struct bitcoin_blkid blkid;
|
struct bitcoin_blkid blkid;
|
||||||
|
|
||||||
/* And their associated index in the block */
|
/* Full copy of txs (freed in filter_block_txs) */
|
||||||
u32 *txnums;
|
|
||||||
|
|
||||||
/* Full copy of txs (trimmed to txs list in connect_block) */
|
|
||||||
struct bitcoin_tx **full_txs;
|
struct bitcoin_tx **full_txs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user