mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-29 14:22:55 +00:00
fix stale generated file that I forgot to include with recent PR that made some changes to the --bal.executionmode flag
This commit is contained in:
parent
418d8207b3
commit
8f361e342c
1 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,6 @@
|
|||
package ethconfig
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/core/types/bal"
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
|
@ -11,6 +10,7 @@ import (
|
|||
"github.com/ethereum/go-ethereum/core/history"
|
||||
"github.com/ethereum/go-ethereum/core/txpool/blobpool"
|
||||
"github.com/ethereum/go-ethereum/core/txpool/legacypool"
|
||||
"github.com/ethereum/go-ethereum/core/types/bal"
|
||||
"github.com/ethereum/go-ethereum/eth/gasprice"
|
||||
"github.com/ethereum/go-ethereum/miner"
|
||||
)
|
||||
|
|
@ -181,7 +181,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
|
|||
TxSyncDefaultTimeout *time.Duration `toml:",omitempty"`
|
||||
TxSyncMaxTimeout *time.Duration `toml:",omitempty"`
|
||||
RangeLimit *uint64 `toml:",omitempty"`
|
||||
BALExecutionMode *int
|
||||
BALExecutionMode *bal.BALExecutionMode
|
||||
}
|
||||
var dec Config
|
||||
if err := unmarshal(&dec); err != nil {
|
||||
|
|
@ -341,7 +341,7 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error {
|
|||
c.RangeLimit = *dec.RangeLimit
|
||||
}
|
||||
if dec.BALExecutionMode != nil {
|
||||
c.BALExecutionMode = bal.BALExecutionMode(*dec.BALExecutionMode)
|
||||
c.BALExecutionMode = *dec.BALExecutionMode
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue