correct peer on stats

This commit is contained in:
AnilChinchawale 2018-12-07 11:03:31 +05:30
parent 052ac145b6
commit 0b88144a17

View file

@ -704,7 +704,7 @@ func (s *Service) reportStats(conn *websocket.Conn) error {
Active: true, Active: true,
Mining: mining, Mining: mining,
Hashrate: hashrate, Hashrate: hashrate,
Peers: s.server.PeerCount(), Peers: s.eth.GetPeer(),
GasPrice: gasprice, GasPrice: gasprice,
Syncing: syncing, Syncing: syncing,
Uptime: 100, Uptime: 100,