Merge pull request #9189 from filecoin-project/phi/commp-bytes
fix: ux: Output bytes in `lotus client commP` cmd
This commit is contained in:
commit
ea504dc93b
@ -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