fix unhandled nil return

This commit is contained in:
shannonwells 2020-06-05 10:59:28 -07:00
parent e9eff8be5c
commit 76b5c8b145

View File

@ -58,6 +58,7 @@ func (pm *Manager) waitForPaychCreateMsg(ctx context.Context, mcid cid.Cid) {
mwait, err := pm.state.StateWaitMsg(ctx, mcid)
if err != nil {
log.Errorf("wait msg: %w", err)
return
}
if mwait.Receipt.ExitCode != 0 {