Skip to content

Commit

Permalink
Fix non-sequential forkid (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls authored Aug 12, 2024
1 parent 7ee5ef4 commit 1da0c44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chain/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ func (c *Config) SetForkIdBlock(forkIdNumber constants.ForkId, blockNum uint64)
c.ForkID88ElderberryBlock = new(big.Int).SetUint64(blockNum)
case constants.ForkID9Elderberry2:
c.ForkID9Elderberry2Block = new(big.Int).SetUint64(blockNum)
case constants.ForkID10:
c.ForkID10 = new(big.Int).SetUint64(blockNum)
case constants.ForkID11:
c.ForkID11 = new(big.Int).SetUint64(blockNum)
case constants.ForkID12Banana:
c.ForkID12BananaBlock = new(big.Int).SetUint64(blockNum)
default:
Expand Down

0 comments on commit 1da0c44

Please sign in to comment.