good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3530acb9 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

core: genesis extra data field fix

parent 8a5ea466
Branches
Tags
No related merge requests found
......@@ -75,7 +75,7 @@ func WriteGenesisBlock(stateDb, blockDb common.Database, reader io.Reader) (*typ
Nonce: types.EncodeNonce(common.String2Big(genesis.Nonce).Uint64()),
Time: common.String2Big(genesis.Timestamp).Uint64(),
ParentHash: common.HexToHash(genesis.ParentHash),
Extra: common.Hex2Bytes(genesis.ExtraData),
Extra: common.FromHex(genesis.ExtraData),
GasLimit: common.String2Big(genesis.GasLimit),
Difficulty: difficulty,
MixDigest: common.HexToHash(genesis.Mixhash),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment