Update wdpost_run.go
This commit is contained in:
parent
921fda94c7
commit
f82a262ffe
@ -181,9 +181,10 @@ func (s *WindowPoStScheduler) runSubmitPoST(
|
|||||||
post.ChainCommitRand = commRand
|
post.ChainCommitRand = commRand
|
||||||
|
|
||||||
// Submit PoST
|
// Submit PoST
|
||||||
sm, submitErr := s.submitPoStMessage(ctx, post)
|
sm, err := s.submitPoStMessage(ctx, post)
|
||||||
if submitErr != nil {
|
if err != nil {
|
||||||
log.Errorf("submit window post failed: %+v", submitErr)
|
log.Errorf("submit window post failed: %+v", err)
|
||||||
|
submitErr = err
|
||||||
} else {
|
} else {
|
||||||
s.recordProofsEvent(post.Partitions, sm.Cid())
|
s.recordProofsEvent(post.Partitions, sm.Cid())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user