@cryptotaxi247 / kubo / commits / 52631c697

fix(logging) interpret peer id strings correctly

License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Brian Tiger Chow committed Nov 27, 2014 at 17:29 UTC 52631c697e1414b901f920dbf4c87e4922cf1716
1 file changed +1 -1
peer/peer.go
+1 -1
@@ -167,7 +167,7 @@ func (p *peer) String() string {
167 func (p *peer) Loggable() map[string]interface{} {
168 return map[string]interface{}{
169 p.GetType().String(): map[string]interface{}{
170 - "id": p.ID(),
170 + "id": p.ID().String(),
171 "latency": p.GetLatency(),
172 },
173 }