mirror of https://github.com/status-im/EIPs.git
Merge pull request #775 from ethereum/not_metro
Replace a METROPOLIS with BYZANTIUM
This commit is contained in:
commit
2f6d9e5dcc
|
@ -18,7 +18,7 @@ child_diff = int(max(parent.difficulty + (parent.difficulty // BLOCK_DIFF_FACTOR
|
|||
...
|
||||
```
|
||||
|
||||
If `block.number >= METROPOLIS_FORK_BLKNUM`, we change the first line to the following:
|
||||
If `block.number >= BYZANTIUM_FORK_BLKNUM`, we change the first line to the following:
|
||||
|
||||
``` python
|
||||
adj_factor = max((2 if len(parent.uncles) else 1) - ((timestamp - parent.timestamp) // 9), -99)
|
||||
|
|
Loading…
Reference in New Issue