diff --git a/chain/sync.go b/chain/sync.go index 1ed7a3507..5a6a6be22 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -851,6 +851,7 @@ func (syncer *Syncer) ValidateBlock(ctx context.Context, b *types.FullBlock) (er "%d errors occurred:\n\t%s\n\n", len(es), strings.Join(points, "\n\t")) } + return mulErr } if err := syncer.store.MarkBlockAsValidated(ctx, b.Cid()); err != nil { @@ -908,7 +909,7 @@ func (syncer *Syncer) VerifyWinningPoStProof(ctx context.Context, h *types.Block } if !ok { - log.Errorf("invalid winning post (%x; %v)", rand, sectors) + log.Errorf("invalid winning post (block: %s, %x; %v)", h.Cid(), rand, sectors) return xerrors.Errorf("winning post was invalid") }