Fix times

Co-authored-by: slaninas <slaninas@pm.me>
This commit is contained in:
junderwandslaninas committed 2022-08-19 01:14:54 +09:00
1 parent f6ef000ec5
commit 74e8071d3a
1 file changed
+2 -2
+2 -2
View File
@@ -47,8 +47,8 @@ class DifficultyAdjustmentApi {
} }
const timeAvg = timeAvgMins * 60 * 1000 ; const timeAvg = timeAvgMins * 60 * 1000 ;
const remainingTime = (remainingBlocks * timeAvg) + (now * 1000); const remainingTime = remainingBlocks * timeAvg;
const estimatedRetargetDate = remainingTime + now; const estimatedRetargetDate = remainingTime + now * 1000;
return { return {
progressPercent, progressPercent,