diff --git a/pkg/chainsync/slashfilter/slashfilter.go b/pkg/chainsync/slashfilter/slashfilter.go index 6527e70cbf..7e65b87699 100644 --- a/pkg/chainsync/slashfilter/slashfilter.go +++ b/pkg/chainsync/slashfilter/slashfilter.go @@ -85,7 +85,7 @@ func (f *LocalSlashFilter) MinedBlock(ctx context.Context, bh *types.BlockHeader } if err := f.byParents.Put(ctx, parentsKey, bh.Cid().Bytes()); err != nil { - return fmt.Errorf("putting byEpoch entry: %w", err) + return fmt.Errorf("putting byParents entry: %w", err) } if err := f.byEpoch.Put(ctx, epochKey, bh.Cid().Bytes()); err != nil {