mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-17 16:40:40 +00:00
Merge pull request #2491 from obscuren/genesis-config-fix
core, eth: added json tag field for proper unmarshalling
This commit is contained in:
commit
e62c2aeb1b
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func WriteGenesisBlock(chainDb ethdb.Database, reader io.Reader) (*types.Block,
|
|||
}
|
||||
|
||||
var genesis struct {
|
||||
ChainConfig *ChainConfig
|
||||
ChainConfig *ChainConfig `json:"config"`
|
||||
Nonce string
|
||||
Timestamp string
|
||||
ParentHash string
|
||||
|
|
|
|||
Loading…
Reference in a new issue