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:
parent
e165731b82
commit
656f4d5101
@ -228,6 +228,7 @@ var clientCommPCmd = &cli.Command{
|
|||||||
|
|
||||||
fmt.Println("CID: ", encoder.Encode(ret.Root))
|
fmt.Println("CID: ", encoder.Encode(ret.Root))
|
||||||
fmt.Println("Piece size: ", types.SizeStr(types.NewInt(uint64(ret.Size))))
|
fmt.Println("Piece size: ", types.SizeStr(types.NewInt(uint64(ret.Size))))
|
||||||
|
fmt.Println("Piece size in bytes: ", types.NewInt(uint64(ret.Size)))
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user