From eff6a43419c6f0653880e05271811b93f4b6e56a Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 4 Apr 2015 18:29:11 +0200 Subject: Removed debugging --- core/chain_manager.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core') diff --git a/core/chain_manager.go b/core/chain_manager.go index 2a5d2f2c5..b7b6279ca 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -447,11 +447,6 @@ func (self *ChainManager) procFutureBlocks() { } func (self *ChainManager) InsertChain(chain types.Blocks) error { - if len(chain) > 0 { - fmt.Println("insert chain", len(chain)) - defer fmt.Println("insert chain done") - } - // A queued approach to delivering events. This is generally faster than direct delivery and requires much less mutex acquiring. var queue = make([]interface{}, len(chain)) var queueEvent = queueEvent{queue: queue} @@ -471,13 +466,11 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { // Do not penelise on future block. We'll need a block queue eventually that will queue // future block for future use if err == BlockFutureErr { - fmt.Println("added future block", block.Number()) self.futureBlocks.Push(block) continue } if IsParentErr(err) && self.futureBlocks.Has(block.ParentHash()) { - fmt.Println("added future block 2", block.Number()) self.futureBlocks.Push(block) continue } -- cgit