diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-06 20:18:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-06 20:18:09 +0800 |
commit | 564f02aa2b1188a2a736a9345f2afaa13e50ef45 (patch) | |
tree | 448e8a747e2892f9930c71bf3202dae402a7ff6c /xeth | |
parent | 3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c (diff) | |
download | dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.gz dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.bz2 dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.lz dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.xz dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.tar.zst dexon-564f02aa2b1188a2a736a9345f2afaa13e50ef45.zip |
Fixed tests
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/js_types.go | 4 |
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), } } |