This commit is contained in:
Ben Wilson
2023-06-23 16:03:24 -04:00
parent a1d8590055
commit 1e51792b67
3 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export class StratumV1ClientStatistics {
}
}
public getHashrate() {
public getHashRate() {
return this.historicSubmissions.reduce((pre, cur, idx, arr) => {
if (idx === 0) {
pre.time = cur.time;