Add print to unseal cmd

Add print to unseal cmd
This commit is contained in:
Phi 2023-09-15 09:22:18 +08:00
parent 8ab6eaa6e3
commit 6892c35aec

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))
}, },
} }