nerdminer stuff

This commit is contained in:
Ben Wilson
2023-07-21 23:22:05 -04:00
parent 7fbe81d642
commit 7b5a0756a2
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ export class ClientController {
return {
sessionId: worker.sessionId,
name: worker.clientName,
bestDifficulty: Math.floor(worker.bestDifficulty),
hashRate: Math.floor(await this.clientStatisticsService.getHashRateForSession(worker.address, worker.clientName, worker.sessionId)),
bestDifficulty: worker.bestDifficulty.toFixed(2),
hashRate: (await this.clientStatisticsService.getHashRateForSession(worker.address, worker.clientName, worker.sessionId)).toFixed(2),
startTime: worker.startTime
};
})