Merge pull request #4976 from filcloud/fix-get-sector
fix get sector bug
This commit is contained in:
commit
ffa96389bc
@ -1759,6 +1759,9 @@ var stateSectorCmd = &cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if si == nil {
|
||||
return xerrors.Errorf("sector %d for miner %s not found", sid, maddr)
|
||||
}
|
||||
|
||||
fmt.Println("SectorNumber: ", si.SectorNumber)
|
||||
fmt.Println("SealProof: ", si.SealProof)
|
||||
|
Loading…
Reference in New Issue
Block a user