diff --git a/stratum/api.go b/stratum/api.go index 2c37f66..5b62c8d 100644 --- a/stratum/api.go +++ b/stratum/api.go @@ -981,7 +981,7 @@ func (s *StratumServer) XdagMinerHashrate(id uint64, params json.RawMessage) jrp } i++ hashrate += v.Hashrate - hashrate24h += hashrate24h + hashrate24h += v.Hashrate24h if !v.Timeout { totalOnline++ }