mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Merge branch 'master' into simon/getrawtransaction-recursive-fix
This commit is contained in:
commit
f91d9239e6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class DifficultyAdjustmentApi {
|
|||
}
|
||||
}
|
||||
|
||||
let timeAvgMins = blocksInEpoch ? diff / blocksInEpoch / 60 : 10;
|
||||
let timeAvgMins = blocksInEpoch && blocksInEpoch > 146 ? diff / blocksInEpoch / 60 : 10;
|
||||
|
||||
// Testnet difficulty is set to 1 after 20 minutes of no blocks,
|
||||
// therefore the time between blocks will always be below 20 minutes (1200s).
|
||||
|
|
Loading…
Add table
Reference in a new issue