From 6892c35aeccc8fc5199679ffa5c8e0a026b67d75 Mon Sep 17 00:00:00 2001 From: Phi Date: Fri, 15 Sep 2023 09:22:18 +0800 Subject: [PATCH] Add print to unseal cmd Add print to unseal cmd --- cmd/lotus-miner/sectors.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index 3993ecf75..96e132bbd 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -2552,6 +2552,8 @@ var sectorsUnsealCmd = &cli.Command{ return xerrors.Errorf("could not parse sector number: %w", err) } + fmt.Printf("Unsealing sector %d\n", sectorNum) + return minerAPI.SectorUnseal(ctx, abi.SectorNumber(sectorNum)) }, }