cmd/puppeth: fix proper disabling of 1283

This commit is contained in:
Martin Holst Swende 2019-01-21 13:08:33 +01:00
parent 6fa6647ddd
commit 02af5aaa87
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -448,11 +448,7 @@ func (spec *parityChainSpec) setConstantinople(num *big.Int) {
} }
func (spec *parityChainSpec) setConstantinopleFix(num *big.Int) { func (spec *parityChainSpec) setConstantinopleFix(num *big.Int) {
n := hexutil.Uint64(num.Uint64()) spec.Params.EIP1283DisableTransition = n
spec.Params.EIP145Transition = n
spec.Params.EIP1014Transition = n
spec.Params.EIP1052Transition = n
spec.Params.EIP1283Transition = n
} }
// pyEthereumGenesisSpec represents the genesis specification format used by the // pyEthereumGenesisSpec represents the genesis specification format used by the