Commit 434dea3c authored by obscuren's avatar obscuren

eth: removed debug messages to stdout

parent 50e096e6
...@@ -291,7 +291,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error { ...@@ -291,7 +291,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error {
return nil return nil
} }
self.BroadcastBlock(hash, request.Block) 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 { } else {
// adding blocks is synchronous // adding blocks is synchronous
go func() { go func() {
...@@ -301,7 +301,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error { ...@@ -301,7 +301,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error {
return return
} }
self.BroadcastBlock(hash, request.Block) 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: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment