From 8189fdd58767259e05c4c0daadfccc3bd736da64 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 10 Mar 2023 12:20:50 +0700 Subject: [PATCH] cleanup --- eth/stagedsync/exec3.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/eth/stagedsync/exec3.go b/eth/stagedsync/exec3.go index 4d6e30f75..851f286e3 100644 --- a/eth/stagedsync/exec3.go +++ b/eth/stagedsync/exec3.go @@ -328,12 +328,10 @@ func ExecV3(ctx context.Context, case <-pruneEvery.C: if rs.SizeEstimate() < commitThreshold { if agg.CanPrune(tx) { - log.Warn("Aggressive prune") if err = agg.Prune(ctx, ethconfig.HistoryV3AggregationStep/10); err != nil { // prune part of retired data, before commit panic(err) } } else { - log.Warn("No aggressive prune") if err = agg.Flush(ctx, tx); err != nil { return err }