diff options
Diffstat (limited to 'xeth/types.go')
-rw-r--r-- | xeth/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/types.go b/xeth/types.go index 1bab1e1b3..b13317b03 100644 --- a/xeth/types.go +++ b/xeth/types.go @@ -215,7 +215,7 @@ func NewPeer(peer *p2p.Peer) *Peer { return &Peer{ ref: peer, Ip: fmt.Sprintf("%v", peer.RemoteAddr()), - Version: fmt.Sprintf("%v", peer.Identity()), + Version: fmt.Sprintf("%v", peer.ID()), Caps: fmt.Sprintf("%v", caps), } } |