diff --git a/core/gen_genesis.go b/core/gen_genesis.go index b8b020525d..7d1c13c46a 100644 --- a/core/gen_genesis.go +++ b/core/gen_genesis.go @@ -15,7 +15,7 @@ import ( var _ = (*genesisSpecMarshaling)(nil) -//MarshalJSON assigns receiver values to the Genesis struct and returns its JSON encoding. +// MarshalJSON assigns receiver values to the Genesis struct and returns its JSON encoding. func (g Genesis) MarshalJSON() ([]byte, error) { type Genesis struct { Config *params.ChainConfig `json:"config"` @@ -52,7 +52,7 @@ func (g Genesis) MarshalJSON() ([]byte, error) { return json.Marshal(&enc) } -//UnmarshalJSON parses JSON-encoded input and assigns resulting values to the receiver. +// UnmarshalJSON parses JSON-encoded input and assigns resulting values to the receiver. func (g *Genesis) UnmarshalJSON(input []byte) error { type Genesis struct { Config *params.ChainConfig `json:"config"`