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:
parent
f221c05a33
commit
08ff772cf4
@ -42,7 +42,7 @@ var infoCmd = &cli.Command{
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
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)
|
pow, err := api.StateMinerPower(ctx, maddr, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user