File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ package syncer
1919import (
2020 "errors"
2121 "fmt"
22- "github.com/ethereum/go-ethereum/eth/ethconfig"
2322 "sync"
2423 "time"
2524
2625 "github.com/ethereum/go-ethereum/common"
2726 "github.com/ethereum/go-ethereum/core/types"
2827 "github.com/ethereum/go-ethereum/eth"
28+ "github.com/ethereum/go-ethereum/eth/ethconfig"
2929 "github.com/ethereum/go-ethereum/log"
3030 "github.com/ethereum/go-ethereum/node"
3131 "github.com/ethereum/go-ethereum/rpc"
@@ -130,7 +130,7 @@ func (s *Syncer) run() {
130130 }
131131 if resync {
132132 if mode := s .backend .Downloader ().GetSyncMode (); mode != ethconfig .FullSync {
133- req .errc <- fmt .Errorf ("unsupported syncmode %v" , mode )
133+ req .errc <- fmt .Errorf ("unsupported syncmode %v, please relaunch geth with --syncmode full " , mode )
134134 } else {
135135 req .errc <- s .backend .Downloader ().BeaconDevSync (target )
136136 }
You can’t perform that action at this time.
0 commit comments