Fix times

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

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,