Output bytes in lotus client commP cmd

Adds an additional line that outputs bytes in the `lotus client commP` cmd. Resolves #9188
This commit is contained in:
Phi 2022-08-19 12:27:09 +02:00
parent e165731b82
commit 656f4d5101

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
},
}