fix non existing sector (#12012)
This commit is contained in:
parent
6dc4ebd2ad
commit
bedd69602c
@ -159,6 +159,11 @@ func SectorsStatusCmd(getActorAddress ActorAddressGetter, getOnDiskInfo OnDiskIn
|
||||
return err
|
||||
}
|
||||
|
||||
if status == nil {
|
||||
fmt.Println("Sector status not found on chain")
|
||||
return nil
|
||||
}
|
||||
|
||||
mid, err := address.IDFromAddress(maddr)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user