ethstats: remove miner and hashrate flags

This commit is contained in:
Marius van der Wijden 2024-03-06 11:58:35 +01:00
parent d7f39782ce
commit 6b21155432

View file

@ -774,10 +774,10 @@ type nodeStats struct {
Uptime int `json:"uptime"` Uptime int `json:"uptime"`
} }
// reportStats retrieves various stats about the node at the networking and // reportStats retrieves various stats about the node at the networking layer
// mining layer and reports it to the stats server. // and reports it to the stats server.
func (s *Service) reportStats(conn *connWrapper) error { func (s *Service) reportStats(conn *connWrapper) error {
// Gather the syncing and mining infos from the local miner instance // Gather the syncing infos from the local miner instance
var ( var (
syncing bool syncing bool
gasprice int gasprice int