Merge pull request #11271 from filecoin-project/fix/unsealing-print

fix: cli: Add print to unseal cmd
This commit is contained in:
Aayush Rajasekaran 2023-09-18 11:55:07 -04:00 committed by GitHub
commit 89a0b25377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2552,6 +2552,8 @@ var sectorsUnsealCmd = &cli.Command{
return xerrors.Errorf("could not parse sector number: %w", err) return xerrors.Errorf("could not parse sector number: %w", err)
} }
fmt.Printf("Unsealing sector %d\n", sectorNum)
return minerAPI.SectorUnseal(ctx, abi.SectorNumber(sectorNum)) return minerAPI.SectorUnseal(ctx, abi.SectorNumber(sectorNum))
}, },
} }