Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
swordlet committed May 15, 2024
1 parent 5d0a3a4 commit f41b7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stratum/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
}
Expand Down

0 comments on commit f41b7aa

Please sign in to comment.