diff --git a/core/genesis.go b/core/genesis.go index 19890406ef..dc50ff475e 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -415,7 +415,10 @@ func DefaultCalaverasGenesisBlock() *Genesis { func DeveloperGenesisBlock(period uint64, faucet common.Address) *Genesis { // Override the default period to the user requested one config := *params.AllCliqueProtocolChanges - config.Clique.Period = period + config.Clique = ¶ms.CliqueConfig{ + Period: period, + Epoch: config.Clique.Epoch, + } // Assemble and return the genesis with the precompiles and faucet pre-funded return &Genesis{