From 3530acb9e23562ed349e48a6d32d6d1f57a5d9fb Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Sun, 26 Jul 2015 14:25:25 +0200 Subject: [PATCH] core: genesis extra data field fix --- core/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),