mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
cmd/puppeth: fix proper disabling of 1283
This commit is contained in:
parent
6fa6647ddd
commit
02af5aaa87
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue