diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 274e8fc723..bc76fe8aef 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -34,9 +34,9 @@ import ( "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/console" "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/les" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/internal/debug" + "github.com/ethereum/go-ethereum/les" "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/node" diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 8813c9aff8..f2c9446879 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -158,19 +158,11 @@ var ( Usage: "Document Root for HTTPClient file scheme", Value: DirectoryString{homeDir()}, } - FastSyncFlag = cli.BoolFlag{ - Name: "fast", - Usage: "Enable fast syncing through state downloads (replaced by --syncmode)", - } ExitWhenSyncedFlag = cli.DurationFlag{ Name: "exitwhensynced", Usage: "Exists syncing by given time (default 0) after block synchronisation", Value: -1, } - LightModeFlag = cli.BoolFlag{ - Name: "light", - Usage: "Enable light client mode (replaced by --syncmode)", - } defaultSyncMode = eth.DefaultConfig.SyncMode SyncModeFlag = TextMarshalerFlag{ Name: "syncmode",