mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Merge pull request #2300 from slaninas/master
Fix difficulty adjustment
This commit is contained in:
commit
9fca8de52f
2 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||
|
|
3
contributors/junderw.txt
Normal file
3
contributors/junderw.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of August 19, 2022.
|
||||
|
||||
Signed: junderw
|
Loading…
Add table
Reference in a new issue