Skip to content

Commit cc9963a

Browse files
authored
backend: remove dbg printf in setupSnapDownloader (#14193)
remove debug printf leftover from a recent PR
1 parent b42a233 commit cc9963a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

eth/backend.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ import (
3636
"sync/atomic"
3737
"time"
3838

39-
"github.com/erigontech/erigon-lib/kv/prune"
40-
privateapi2 "github.com/erigontech/erigon/turbo/privateapi"
4139
"github.com/erigontech/mdbx-go/mdbx"
4240
lru "github.com/hashicorp/golang-lru/arc/v2"
4341
"github.com/holiman/uint256"
@@ -75,6 +73,7 @@ import (
7573
prototypes "github.com/erigontech/erigon-lib/gointerfaces/typesproto"
7674
"github.com/erigontech/erigon-lib/kv"
7775
"github.com/erigontech/erigon-lib/kv/kvcache"
76+
"github.com/erigontech/erigon-lib/kv/prune"
7877
"github.com/erigontech/erigon-lib/kv/remotedbserver"
7978
"github.com/erigontech/erigon-lib/kv/temporal"
8079
"github.com/erigontech/erigon-lib/log/v3"
@@ -126,6 +125,7 @@ import (
126125
"github.com/erigontech/erigon/turbo/execution/eth1"
127126
"github.com/erigontech/erigon/turbo/execution/eth1/eth1_chain_reader"
128127
"github.com/erigontech/erigon/turbo/jsonrpc"
128+
privateapi2 "github.com/erigontech/erigon/turbo/privateapi"
129129
"github.com/erigontech/erigon/turbo/rpchelper"
130130
"github.com/erigontech/erigon/turbo/services"
131131
"github.com/erigontech/erigon/turbo/shards"
@@ -1458,7 +1458,6 @@ func (s *Ethereum) setUpSnapDownloader(ctx context.Context, downloaderCfg *downl
14581458
return nil
14591459
}
14601460

1461-
fmt.Printf("[dbg] hi %s\n", s.config.Snapshot.DownloaderAddr)
14621461
if s.config.Snapshot.DownloaderAddr != "" {
14631462
// connect to external Downloader
14641463
s.downloaderClient, err = downloadergrpc.NewClient(ctx, s.config.Snapshot.DownloaderAddr)

0 commit comments

Comments
 (0)