bugfix: StateManager.Replay

This commit is contained in:
zl 2021-03-12 23:21:20 +08:00
parent 06aaa668d6
commit 6f64d5db6f

View File

@ -255,7 +255,7 @@ func (sm *StateManager) Replay(ctx context.Context, ts *types.TipSet, mcid cid.C
}
return nil
})
if err != nil && err != errHaltExecution {
if err != nil && !xerrors.Is(err, errHaltExecution) {
return nil, nil, xerrors.Errorf("unexpected error during execution: %w", err)
}