Fix times

Co-authored-by: slaninas <slaninas@pm.me>
This commit is contained in:
junderw
2022-08-19 01:05:02 +09:00
parent 50d99634f7
commit 5d22023d19

View File

@@ -47,8 +47,8 @@ class DifficultyAdjustmentApi {
}
const timeAvg = timeAvgMins * 60 * 1000 ;
const remainingTime = (remainingBlocks * timeAvg) + (now * 1000);
const estimatedRetargetDate = remainingTime + now;
const remainingTime = remainingBlocks * timeAvg;
const estimatedRetargetDate = remainingTime + now * 1000;
return {
progressPercent,