File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ func (m *LilyNodeAPI) GetMessageExecutionsForTipSet(ctx context.Context, ts *typ
164
164
165
165
// if lily was watching the chain when this tipset was applied then its exec monitor will already
166
166
// contain executions for this tipset.
167
- executions , err := msgMonitor .ExecutionFor (pts ) //lint:ignore SA4006 false positive
167
+ executions , err := msgMonitor .ExecutionFor (pts )
168
168
if err == modules .ExecutionTraceNotFound {
169
169
// if lily hasn't watched this tipset be applied then we need to compute its execution trace.
170
170
// this will likely be the case for most walk tasks.
@@ -177,7 +177,8 @@ func (m *LilyNodeAPI) GetMessageExecutionsForTipSet(ctx context.Context, ts *typ
177
177
if err != nil {
178
178
return nil , xerrors .Errorf ("failed to find execution trace for tipset: %s" , pts .Key ().String ())
179
179
}
180
- } else {
180
+ }
181
+ if err != nil {
181
182
return nil , xerrors .Errorf ("failed to extract message execution for tipset %s: %w" , ts , err )
182
183
}
183
184
You can’t perform that action at this time.
0 commit comments