From 6f64d5db6fb4c83bae003285bf72dd8ebfa3229b Mon Sep 17 00:00:00 2001 From: zl Date: Fri, 12 Mar 2021 23:21:20 +0800 Subject: [PATCH] bugfix: StateManager.Replay --- chain/stmgr/call.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/stmgr/call.go b/chain/stmgr/call.go index 89f91b0b7..961bebd9c 100644 --- a/chain/stmgr/call.go +++ b/chain/stmgr/call.go @@ -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) }