diff --git a/chain.go b/chain.go index 03aecd21..7c4c6a08 100644 --- a/chain.go +++ b/chain.go @@ -740,8 +740,6 @@ func (b *BlockChain) connectBlock(node *blockNode, block *btcutil.Block) error { return err } - // TODO(davec): Remove transactions from memory transaction pool. - // Add the new node to the memory main chain indices for faster // lookups. node.inMainChain = true @@ -778,8 +776,6 @@ func (b *BlockChain) disconnectBlock(node *blockNode, block *btcutil.Block) erro return err } - // TODO(davec): Put transactions back in memory transaction pool. - // Put block in the side chain cache. node.inMainChain = false b.blockCache[*node.hash] = block