diff --git a/pkg/core/util.go b/pkg/core/util.go index 05c1ce495..eb85640b6 100644 --- a/pkg/core/util.go +++ b/pkg/core/util.go @@ -51,7 +51,8 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error) InvocationScript: []byte{}, VerificationScript: []byte{byte(opcode.PUSH1)}, }, - Network: cfg.Magic, + StateRootEnabled: cfg.StateRootInHeader, + Network: cfg.Magic, } b := &block.Block{