eth/: Fix nil error in config file

This commit is contained in:
Lucas Hendren 2018-10-17 00:58:45 -04:00
parent 5cec18b24a
commit 498c417a68

View file

@ -101,7 +101,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
GPO *gasprice.Config GPO *gasprice.Config
EnablePreimageRecording *bool EnablePreimageRecording *bool
DocRoot *string `toml:"-"` DocRoot *string `toml:"-"`
ExitWhenSynced time.Duration ExitWhenSynced *time.Duration
} }
var dec Config var dec Config
if err := unmarshal(&dec); err != nil { if err := unmarshal(&dec); err != nil {