Merge pull request #2491 from obscuren/genesis-config-fix

core, eth: added json tag field for proper unmarshalling
pull/2504/head
Jeffrey Wilcke 9 years ago
commit e62c2aeb1b
  1. 2
      core/genesis.go

@ -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…
Cancel
Save