aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-06 20:18:09 +0800
committerobscuren <geffobscura@gmail.com>2015-01-06 20:18:09 +0800
commit564f02aa2b1188a2a736a9345f2afaa13e50ef45 (patch)
tree448e8a747e2892f9930c71bf3202dae402a7ff6c /xeth
parent3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c (diff)
downloadgo-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.gz
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.bz2
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.lz
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.xz
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.zst
go-tangerine-564f02aa2b1188a2a736a9345f2afaa13e50ef45.zip
Fixed tests
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),
}
}