client: Fix an off-by-10^18 error setting retrieval maxPrice

This commit is contained in:
Łukasz Magiera
2020-07-10 21:18:18 +02:00
committed by Łukasz Magiera
parent 7929a335c3
commit 3fcf7a0344
+1 -1
View File
@@ -595,7 +595,7 @@ var clientRetrieveCmd = &cli.Command{
return fmt.Errorf("The received offer errored: %s", offer.Err)
}
maxPrice := types.NewInt(DefaultMaxRetrievePrice)
maxPrice := types.FromFil(DefaultMaxRetrievePrice)
if cctx.String("maxPrice") != "" {
maxPriceFil, err := types.ParseFIL(cctx.String("maxPrice"))