mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
cmd/geth/main, les/fletcher: Cleaned Comments and code for light mode
This commit is contained in:
parent
3ba6900b81
commit
a4cd1eac9b
1 changed files with 0 additions and 3 deletions
|
|
@ -322,9 +322,6 @@ func startNode(ctx *cli.Context, stack *node.Node) {
|
|||
|
||||
if exitWhenSynced := ctx.GlobalDuration(utils.ExitWhenSyncedFlag.Name); exitWhenSynced >= 0 {
|
||||
go func() {
|
||||
//TODO addd in light mode support
|
||||
log.Info("🔗 block Synced 🔗 ")
|
||||
|
||||
if ctx.GlobalBool(utils.LightModeFlag.Name) || ctx.GlobalString(utils.SyncModeFlag.Name) == "light" {
|
||||
var lightEthereum *les.LightEthereum
|
||||
if err := stack.Service(&lightEthereum); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue