From 9ac1b4e59e3abc2742491f39f4f93bc459846098 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Tue, 16 Jun 2015 15:37:25 +0200 Subject: fixed rpc test failure in net_peerCount --- rpc/api/net.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc') diff --git a/rpc/api/net.go b/rpc/api/net.go index d6888ee4a..247c23827 100644 --- a/rpc/api/net.go +++ b/rpc/api/net.go @@ -77,7 +77,7 @@ func (self *netApi) Version(req *shared.Request) (interface{}, error) { // Number of connected peers func (self *netApi) PeerCount(req *shared.Request) (interface{}, error) { - return self.xeth.PeerCount(), nil + return newHexNum(self.xeth.PeerCount()), nil } func (self *netApi) IsListening(req *shared.Request) (interface{}, error) { -- cgit