This commit is contained in:
alex.sharov 2022-12-14 09:53:38 +07:00
parent ce9203d80d
commit b9e54fa2e1

View File

@ -421,7 +421,7 @@ func doRetireCommand(cliCtx *cli.Context) error {
log.Info("Prune state history") log.Info("Prune state history")
if err := db.Update(ctx, func(tx kv.RwTx) error { if err := db.Update(ctx, func(tx kv.RwTx) error {
agg.SetTx(tx) agg.SetTx(tx)
if err = agg.Prune(ctx, ethconfig.HistoryV3AggregationStep*10); err != nil { if err = agg.Prune(ctx, ethconfig.HistoryV3AggregationStep*1024); err != nil {
return err return err
} }
return err return err