aboutsummaryrefslogtreecommitdiffstats
path: root/block_pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'block_pool.go')
-rw-r--r--block_pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/block_pool.go b/block_pool.go
index 25627eb5c..38827242d 100644
--- a/block_pool.go
+++ b/block_pool.go
@@ -53,6 +53,7 @@ func (self *BlockPool) SetBlock(b *ethchain.Block, peer *Peer) {
hash := string(b.Hash())
if self.pool[hash] == nil {
+ self.hashPool = append(self.hashPool, b.Hash())
self.pool[hash] = &block{peer, nil}
}