aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
Diffstat (limited to 'xeth')
-rw-r--r--xeth/js_types.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/js_types.go b/xeth/js_types.go
index dbddcb7a3..e7a1e95e9 100644
--- a/xeth/js_types.go
+++ b/xeth/js_types.go
@@ -169,8 +169,8 @@ func NewJSPeer(peer *p2p.Peer) *JSPeer {
return &JSPeer{
ref: peer,
- Ip: peer.RemoteAddr().String(),
- Version: peer.Identity().String(),
+ Ip: fmt.Sprintf("%v", peer.RemoteAddr()),
+ Version: fmt.Sprintf("%v", peer.Identity()),
Caps: fmt.Sprintf("%v", caps),
}
}