From 02af5aaa87663317a6556ed2616f63c7232c0845 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 21 Jan 2019 13:08:33 +0100 Subject: [PATCH] cmd/puppeth: fix proper disabling of 1283 --- cmd/puppeth/genesis.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/puppeth/genesis.go b/cmd/puppeth/genesis.go index 13003afae9..77db2ba879 100644 --- a/cmd/puppeth/genesis.go +++ b/cmd/puppeth/genesis.go @@ -448,11 +448,7 @@ func (spec *parityChainSpec) setConstantinople(num *big.Int) { } func (spec *parityChainSpec) setConstantinopleFix(num *big.Int) { - n := hexutil.Uint64(num.Uint64()) - spec.Params.EIP145Transition = n - spec.Params.EIP1014Transition = n - spec.Params.EIP1052Transition = n - spec.Params.EIP1283Transition = n + spec.Params.EIP1283DisableTransition = n } // pyEthereumGenesisSpec represents the genesis specification format used by the