aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go
index 99bceb80a..997ce2c47 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -199,7 +199,7 @@ func NewProtocolManager(
return manager.NodeInfo()
},
PeerInfo: func(id enode.ID) interface{} {
- if p := manager.peers.Peer(fmt.Sprintf("%x", id[:8])); p != nil {
+ if p := manager.peers.Peer(id.String()); p != nil {
return p.Info()
}
return nil