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/genesis.go | |
parent | 8a5ea466e4d97021f9c1422e76a5f4665a8a6b08 (diff) | |
download | go-tangerine-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.tar.gz go-tangerine-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.tar.zst go-tangerine-3530acb9e23562ed349e48a6d32d6d1f57a5d9fb.zip |
core: genesis extra data field fix
Diffstat (limited to 'core/genesis.go')
-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), |