use existing util

This commit is contained in:
Jennifer Wang
2021-10-26 20:53:16 -04:00
parent 0fc1239445
commit dc6bd2b015
4 changed files with 8 additions and 16 deletions
+2 -2
View File
@@ -647,9 +647,9 @@ var walletMarketWithdraw = &cli.Command{
return err
}
fmt.Printf("Successfully withdrew %s \n", types.ParseAttoFilToFIL(withdrawn))
fmt.Printf("Successfully withdrew %s \n", types.FIL(withdrawn))
if withdrawn.LessThan(amt) {
fmt.Printf("Note that this is less than the requested amount of %s \n", types.ParseAttoFilToFIL(amt))
fmt.Printf("Note that this is less than the requested amount of %s \n", types.FIL(amt))
}
}