mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Remove a couple of outdated comments.
This commit is contained in:
parent
baa4c36618
commit
5efc3ea23f
4
chain.go
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user