We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56edaa1 commit 9c05284Copy full SHA for 9c05284
core/genesis.go
@@ -75,7 +75,7 @@ func WriteGenesisBlock(stateDb, blockDb common.Database, reader io.Reader) (*typ
75
Nonce: types.EncodeNonce(common.String2Big(genesis.Nonce).Uint64()),
76
Time: common.String2Big(genesis.Timestamp).Uint64(),
77
ParentHash: common.HexToHash(genesis.ParentHash),
78
- Extra: common.Hex2Bytes(genesis.ExtraData),
+ Extra: common.FromHex(genesis.ExtraData),
79
GasLimit: common.String2Big(genesis.GasLimit),
80
Difficulty: difficulty,
81
MixDigest: common.HexToHash(genesis.Mixhash),
0 commit comments