sealing: fix lint/tests

This commit is contained in:
Łukasz Magiera
2022-08-14 12:50:18 -04:00
parent 71dacb5af8
commit 77208728ad
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ func PreflightChecks(mctx helpers.MetricsCtx, lc fx.Lifecycle, api v1api.FullNod
}
if !has {
return errors.New("key for worker not found in local wallet")
return xerrors.New("key for worker not found in local wallet")
}
log.Infof("starting up miner %s, worker addr %s", maddr, workerKey)