mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
Log
This commit is contained in:
parent
be9bfb5536
commit
56103f0751
1 changed files with 0 additions and 2 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue