Remove a couple of outdated comments.

This commit is contained in:
Dave Collins 2013-09-30 16:50:10 -05:00
parent baa4c36618
commit 5efc3ea23f

View file

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