Replace a METROPOLIS with BYZANTIUM

This commit is contained in:
Yoichi Hirai 2017-11-20 12:08:59 +01:00
parent 8ae0c403df
commit 00230328ec
No known key found for this signature in database
GPG Key ID: E7B75D080FCF7992
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)