This commit is contained in:
obscuren 2014-08-22 17:10:18 +02:00
parent be9bfb5536
commit 56103f0751

View File

@ -1,7 +1,6 @@
package eth
import (
"fmt"
"math"
"math/big"
"sync"
@ -52,7 +51,6 @@ func (self *BlockPool) AddHash(hash []byte) {
func (self *BlockPool) SetBlock(b *ethchain.Block, peer *Peer) {
hash := string(b.Hash())
fmt.Printf("::SetBlock %x\n", hash)
if self.pool[hash] == nil {
self.pool[hash] = &block{peer, nil}