fix non existing sector (#12012)

This commit is contained in:
LexLuthr
2024-05-17 09:08:37 -05:00
committed by GitHub
parent 6dc4ebd2ad
commit bedd69602c
+5
View File
@@ -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