Commit 52631c69 authored by Brian Tiger Chow's avatar Brian Tiger Chow

fix(logging) interpret peer id strings correctly

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 8d6f2ed0
......@@ -167,7 +167,7 @@ func (p *peer) String() string {
func (p *peer) Loggable() map[string]interface{} {
return map[string]interface{}{
p.GetType().String(): map[string]interface{}{
"id": p.ID(),
"id": p.ID().String(),
"latency": p.GetLatency(),
},
}
......
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