aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-19 06:03:26 +0800
committerobscuren <geffobscura@gmail.com>2015-04-19 06:03:26 +0800
commit434dea3caf03515e69858c947ba5e0aad6b9c67a (patch)
treee55bc5f0c1c69308f839a239c51b81d55aba6dcf
parent50e096e627c8c07b4dda3a7221dda5f32dc5c5cb (diff)
downloaddexon-434dea3caf03515e69858c947ba5e0aad6b9c67a.tar.gz
dexon-434dea3caf03515e69858c947ba5e0aad6b9c67a.tar.zst
dexon-434dea3caf03515e69858c947ba5e0aad6b9c67a.zip
eth: removed debug messages to stdout
-rw-r--r--eth/handler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/handler.go b/eth/handler.go
index effe25ae3..1dbc62cce 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -291,7 +291,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error {
return nil
}
self.BroadcastBlock(hash, request.Block)
- fmt.Println(request.Block.Hash().Hex(), "our calculated TD =", request.Block.Td, "their TD =", request.TD)
+ //fmt.Println(request.Block.Hash().Hex(), "our calculated TD =", request.Block.Td, "their TD =", request.TD)
} else {
// adding blocks is synchronous
go func() {
@@ -301,7 +301,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error {
return
}
self.BroadcastBlock(hash, request.Block)
- fmt.Println(request.Block.Hash().Hex(), "our calculated TD =", request.Block.Td, "their TD =", request.TD)
+ //fmt.Println(request.Block.Hash().Hex(), "our calculated TD =", request.Block.Td, "their TD =", request.TD)
}()
}
default: