From d55d9fa815aa2502f523e235870fbaafa95575b3 Mon Sep 17 00:00:00 2001 From: kiel barry Date: Mon, 7 May 2018 19:05:41 -0700 Subject: [PATCH] Update gen_genesis_account.go --- core/gen_genesis_account.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/gen_genesis_account.go b/core/gen_genesis_account.go index d62af0f287..cd2e392b96 100644 --- a/core/gen_genesis_account.go +++ b/core/gen_genesis_account.go @@ -14,7 +14,7 @@ import ( var _ = (*genesisAccountMarshaling)(nil) -//MarshalJSON returns the marshalled receiver. +// MarshalJSON returns the marshalled receiver. func (g GenesisAccount) MarshalJSON() ([]byte, error) { type GenesisAccount struct { Code hexutil.Bytes `json:"code,omitempty"` @@ -37,7 +37,7 @@ func (g GenesisAccount) 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 *GenesisAccount) UnmarshalJSON(input []byte) error { type GenesisAccount struct { Code *hexutil.Bytes `json:"code,omitempty"`