fail test if deal errors

This commit is contained in:
whyrusleeping
2019-11-07 00:39:34 +01:00
committed by Łukasz Magiera
parent 41d13b12a0
commit 480e7899ef
3 changed files with 4 additions and 2 deletions
-1
View File
@@ -92,7 +92,6 @@ func (a *API) ClientStartDeal(ctx context.Context, data cid.Cid, miner address.A
}
c, err := a.DealClient.Start(ctx, proposal)
// TODO: send updated voucher with PaymentVerifySector for cheaper validation (validate the sector the miner sent us first!)
if err != nil {
return nil, xerrors.Errorf("failed to start deal: %w", err)
}