This commit is contained in:
Ben Wilson
2023-06-23 16:32:33 -04:00
parent b9a631c29c
commit b963eaa514
4 changed files with 4 additions and 9 deletions
+3 -1
View File
@@ -25,6 +25,7 @@ export class AppController {
name: worker.clientAuthorization.worker,
bestDifficulty: Math.floor(worker.statistics.bestDifficulty),
hashRate: Math.floor(worker.statistics.getHashRate()),
startTime: worker.startTime
}
})
}
@@ -37,7 +38,8 @@ export class AppController {
id: worker.id,
name: worker.clientAuthorization.worker,
bestDifficulty: Math.floor(worker.statistics.bestDifficulty),
hashData: worker.statistics.historicSubmissions
hashData: worker.statistics.historicSubmissions,
startTime: worker.startTime
}
}
}