Fix withdrawn amount equiality check
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
This commit is contained in:
parent
e40c7b7a86
commit
8eeecb431b
@ -648,7 +648,7 @@ var walletMarketWithdraw = &cli.Command{
|
||||
}
|
||||
|
||||
fmt.Printf("Successfully withdrew %s FIL\n", withdrawn)
|
||||
if withdrawn != amt {
|
||||
if withdrawn.LessThan(amount) {
|
||||
fmt.Printf("Note that this is less than the requested amount of %s FIL\n", amt)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user