don't print scary errors when miner has no sectors
This commit is contained in:
parent
ad978949db
commit
adf71f502c
@ -492,7 +492,9 @@ func IsRoundWinner(ctx context.Context, ts *types.TipSet, round int64, miner add
|
||||
if err != nil {
|
||||
return false, nil, xerrors.Errorf("failed to load proving set for miner: %w", err)
|
||||
}
|
||||
log.Warningf("Proving set for miner %s: %s", miner, pset)
|
||||
if len(pset) == 0 {
|
||||
return false, nil, nil
|
||||
}
|
||||
|
||||
var sinfos []ffi.PublicSectorInfo
|
||||
for _, s := range pset {
|
||||
|
@ -136,7 +136,6 @@ func (sm *StateManager) computeTipSetState(ctx context.Context, blks []*types.Bl
|
||||
}
|
||||
|
||||
// all block miners created a valid post, go update the actor state
|
||||
fmt.Println("SUBMIT ELECTION POST TIME", netact.Nonce, b.Height)
|
||||
postSubmitMsg := &types.Message{
|
||||
From: actors.NetworkAddress,
|
||||
Nonce: netact.Nonce,
|
||||
|
Loading…
Reference in New Issue
Block a user