mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
core: save StateRootInHeader in genesis block
This commit is contained in:
parent
7d91a3a89e
commit
966b50f2ae
1 changed files with 2 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue