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: }