for blockpool logging peer id is fmt.Sprintf("%x", peer.Identity().Pubkey())

This commit is contained in:
zelig 2015-01-02 22:39:37 +00:00
parent b39aaa0441
commit add19a6882

View file

@ -95,7 +95,7 @@ func runEthProtocol(txPool txPool, chainManager chainManager, blockPool blockPoo
blockPool: blockPool,
rw: rw,
peer: peer,
id: (string)(peer.Identity().Pubkey()),
id: fmt.Sprintf("%x", peer.Identity().Pubkey()),
}
err = self.handleStatus()
if err == nil {