aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool
diff options
context:
space:
mode:
Diffstat (limited to 'blockpool')
-rw-r--r--blockpool/blockpool.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go
index e65032fb5..79b6f8cc0 100644
--- a/blockpool/blockpool.go
+++ b/blockpool/blockpool.go
@@ -622,6 +622,8 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) {
entry := self.get(hash)
+ fmt.Println("block number", block.Number())
+ defer fmt.Println("AddBlock done")
// a peer's current head block is appearing the first time
if hash == sender.currentBlockHash {
if sender.currentBlock == nil {