Merge pull request #2647 from filecoin-project/feat/better-seal-duration-ui

Feat/better seal duration ui
This commit is contained in:
Aayush Rajasekaran
2020-07-28 21:32:54 -04:00
committed by GitHub
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ func StorageProvider(minerAddress dtypes.MinerAddress,
}
earliest := abi.ChainEpoch(sealEpochs) + ht
if deal.Proposal.StartEpoch < earliest {
log.Warnf("proposed deal would start before sealing can be completed; rejecting storage deal proposal from client: %s", deal.Proposal.PieceCID, deal.Client.String())
log.Warnw("proposed deal would start before sealing can be completed; rejecting storage deal proposal from client", "piece_cid", deal.Proposal.PieceCID, "client", deal.Client.String(), "seal_duration", sealDuration, "earliest", earliest, "curepoch", ht)
return false, fmt.Sprintf("cannot seal a sector before %s", deal.Proposal.StartEpoch), nil
}