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,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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue