Remove a couple of outdated comments.
This commit is contained in:
parent
baa4c36618
commit
5efc3ea23f
1 changed files with 0 additions and 4 deletions
4
chain.go
4
chain.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue