From f2e0f1ead44437ee2c191845b203c346a2d017f7 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 24 Mar 2023 10:58:33 +0700 Subject: [PATCH] clean --- state/domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/domain.go b/state/domain.go index 7c348a900..b47d03c74 100644 --- a/state/domain.go +++ b/state/domain.go @@ -1029,7 +1029,7 @@ func (d *Domain) collate(ctx context.Context, step, txFrom, txTo uint64, roTx kv "progress", fmt.Sprintf("%.2f%%", float64(pos)/float64(totalKeys)*100)) case <-ctx.Done(): log.Warn("[snapshots] collate domain cancelled", "name", d.filenameBase, "err", ctx.Err()) - return Collation{}, err + return Collation{}, ctx.Err() default: }