Merge pull request #5178 from filecoin-project/asr/ask-min-piece
Print MinPieceSize when querying ask
This commit is contained in:
commit
c61f341b22
@ -1429,6 +1429,7 @@ var clientQueryAskCmd = &cli.Command{
|
|||||||
afmt.Printf("Price per GiB: %s\n", types.FIL(ask.Price))
|
afmt.Printf("Price per GiB: %s\n", types.FIL(ask.Price))
|
||||||
afmt.Printf("Verified Price per GiB: %s\n", types.FIL(ask.VerifiedPrice))
|
afmt.Printf("Verified Price per GiB: %s\n", types.FIL(ask.VerifiedPrice))
|
||||||
afmt.Printf("Max Piece size: %s\n", types.SizeStr(types.NewInt(uint64(ask.MaxPieceSize))))
|
afmt.Printf("Max Piece size: %s\n", types.SizeStr(types.NewInt(uint64(ask.MaxPieceSize))))
|
||||||
|
afmt.Printf("Min Piece size: %s\n", types.SizeStr(types.NewInt(uint64(ask.MinPieceSize))))
|
||||||
|
|
||||||
size := cctx.Int64("size")
|
size := cctx.Int64("size")
|
||||||
if size == 0 {
|
if size == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user