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