Skip to content

Commit

Permalink
Merge pull request #1529 from obscuren/extra-data-fix
Browse files Browse the repository at this point in the history
core: genesis extra data field fix
  • Loading branch information
obscuren committed Jul 26, 2015
2 parents 8a5ea46 + 3530acb commit d18d256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit d18d256

Please sign in to comment.