diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-26 20:25:25 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-26 20:44:54 +0800 |
commit | 3530acb9e23562ed349e48a6d32d6d1f57a5d9fb (patch) | |
tree | 63ee1d7a2db6702d131f6bd8eb42c409402206e5 /core | |
parent | 8a5ea466e4d97021f9c1422e76a5f4665a8a6b08 (diff) | |
download | dexon-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.tar.gz dexon-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.tar.zst dexon-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.zip |
core: genesis extra data field fix
Diffstat (limited to 'core')
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go index 2f218724a..86e494766 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -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), |