localworker: Don't mark calls as returned when returning fails

This commit is contained in:
Łukasz Magiera 2020-09-28 22:10:02 +02:00
parent 9bd2537971
commit 1e6a69f8aa

View File

@ -229,6 +229,7 @@ func (l *LocalWorker) asyncCall(ctx context.Context, sector abi.SectorID, rt Ret
if err := returnFunc[rt](ctx, ci, l.ret, res, err); err != nil {
log.Errorf("return error: %s: %+v", rt, err)
return
}
if err := l.ct.onReturned(ci); err != nil {