Update cmd/lotus-storage-miner/info.go

update sector size format

Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Frank 2019-11-07 19:33:44 +08:00 committed by GitHub
parent f221c05a33
commit 08ff772cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ var infoCmd = &cli.Command{
if err != nil {
return err
}
fmt.Printf("Sector Size(Byte): %d\n", types.NewInt(size))
fmt.Printf("Sector Size: %dKiB\n", size / 1024)
pow, err := api.StateMinerPower(ctx, maddr, nil)
if err != nil {