client: Fix an off-by-10^18 error setting retrieval maxPrice
This commit is contained in:
parent
7929a335c3
commit
3fcf7a0344
@ -595,7 +595,7 @@ var clientRetrieveCmd = &cli.Command{
|
|||||||
return fmt.Errorf("The received offer errored: %s", offer.Err)
|
return fmt.Errorf("The received offer errored: %s", offer.Err)
|
||||||
}
|
}
|
||||||
|
|
||||||
maxPrice := types.NewInt(DefaultMaxRetrievePrice)
|
maxPrice := types.FromFil(DefaultMaxRetrievePrice)
|
||||||
|
|
||||||
if cctx.String("maxPrice") != "" {
|
if cctx.String("maxPrice") != "" {
|
||||||
maxPriceFil, err := types.ParseFIL(cctx.String("maxPrice"))
|
maxPriceFil, err := types.ParseFIL(cctx.String("maxPrice"))
|
||||||
|
Loading…
Reference in New Issue
Block a user