core: save StateRootInHeader in genesis block

This commit is contained in:
Evgenii Stratonikov 2020-11-23 16:24:47 +03:00
parent 7d91a3a89e
commit 966b50f2ae

View file

@ -51,6 +51,7 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error)
InvocationScript: []byte{}, InvocationScript: []byte{},
VerificationScript: []byte{byte(opcode.PUSH1)}, VerificationScript: []byte{byte(opcode.PUSH1)},
}, },
StateRootEnabled: cfg.StateRootInHeader,
Network: cfg.Magic, Network: cfg.Magic,
} }