Merge pull request #9189 from filecoin-project/phi/commp-bytes

fix: ux: Output bytes in `lotus client commP` cmd
This commit is contained in:
Łukasz Magiera 2022-08-19 19:15:19 -04:00 committed by GitHub
commit ea504dc93b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,7 @@ var clientCommPCmd = &cli.Command{
fmt.Println("CID: ", encoder.Encode(ret.Root))
fmt.Println("Piece size: ", types.SizeStr(types.NewInt(uint64(ret.Size))))
fmt.Println("Piece size in bytes: ", types.NewInt(uint64(ret.Size)))
return nil
},
}