@ -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}
}
@ -486,7 +486,6 @@ func (p *Peer) HandleInbound() {
blockPool := p.ethereum.blockPool
it := msg.Data.NewIterator()
for it.Next() {
block := ethchain.NewBlockFromRlpValue(it.Value())