From 656f4d5101c71a7721ae571b0582dee9103de4c2 Mon Sep 17 00:00:00 2001 From: Phi Date: Fri, 19 Aug 2022 12:27:09 +0200 Subject: [PATCH] Output bytes in `lotus client commP` cmd Adds an additional line that outputs bytes in the `lotus client commP` cmd. Resolves #9188 --- cli/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/client.go b/cli/client.go index c321bfec5..b4c8f5708 100644 --- a/cli/client.go +++ b/cli/client.go @@ -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 }, }