diff --git a/eth/config.go b/eth/config.go index c1bafc3aa8..e7dba83544 100644 --- a/eth/config.go +++ b/eth/config.go @@ -124,9 +124,6 @@ type Config struct { // Miscellaneous options DocRoot string `toml:"-"` - // Specify time to exit after syncing - ExitWhenSynced time.Duration - // Type of the EWASM interpreter ("" for detault) EWASMInterpreter string // Type of the EVM interpreter ("" for default) diff --git a/eth/gen_config.go b/eth/gen_config.go index d9ac51999d..2777aa9e83 100644 --- a/eth/gen_config.go +++ b/eth/gen_config.go @@ -44,7 +44,6 @@ func (c Config) MarshalTOML() (interface{}, error) { GPO gasprice.Config EnablePreimageRecording bool DocRoot string `toml:"-"` - ExitWhenSynced time.Duration EWASMInterpreter string EVMInterpreter string } @@ -74,7 +73,6 @@ func (c Config) MarshalTOML() (interface{}, error) { enc.GPO = c.GPO enc.EnablePreimageRecording = c.EnablePreimageRecording enc.DocRoot = c.DocRoot - enc.ExitWhenSynced = c.ExitWhenSynced enc.EWASMInterpreter = c.EWASMInterpreter enc.EVMInterpreter = c.EVMInterpreter return &enc, nil @@ -108,7 +106,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { GPO *gasprice.Config EnablePreimageRecording *bool DocRoot *string `toml:"-"` - ExitWhenSynced *time.Duration EWASMInterpreter *string EVMInterpreter *string } @@ -191,8 +188,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { if dec.DocRoot != nil { c.DocRoot = *dec.DocRoot } - if dec.ExitWhenSynced != nil { - c.ExitWhenSynced = *dec.ExitWhenSynced if dec.EWASMInterpreter != nil { c.EWASMInterpreter = *dec.EWASMInterpreter }