Fix times
Co-authored-by: slaninas <slaninas@pm.me>
This commit is contained in:
parent
50d99634f7
commit
5d22023d19
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user