Reverted wrong fix in 2300

This commit is contained in:
nymkappa 2022-08-19 08:55:45 +02:00
parent 558ddec0a1
commit 298edb6430
No known key found for this signature in database
GPG key ID: E155910B16E8BD04

View file

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