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,
Mining: mining,
Hashrate: hashrate,
Peers: s.server.PeerCount(),
Peers: s.eth.GetPeer(),
GasPrice: gasprice,
Syncing: syncing,
Uptime: 100,