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