Merge pull request #775 from ethereum/not_metro

Replace a METROPOLIS with BYZANTIUM
This commit is contained in:
Nick Savers 2017-11-24 16:37:56 +01:00 committed by GitHub
commit 2f6d9e5dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)