diff --git a/core/genesis.go b/core/genesis.go index 19890406ef7d4bb616c5c1177a560c084528ce79..dc50ff475ec7a951937669fbf3c3ad0628c87fb8 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{