diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 7587afb4f7..29e7c52a98 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -704,7 +704,7 @@ func (s *Service) reportStats(conn *websocket.Conn) error { Active: true, Mining: mining, Hashrate: hashrate, - Peers: s.server.PeerCount(), + Peers: s.eth.GetPeer(), GasPrice: gasprice, Syncing: syncing, Uptime: 100,