Fix withdrawn amount equiality check

Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
This commit is contained in:
Jakub Sztandera
2021-10-11 08:24:24 -04:00
committed by Jennifer Wang
co-authored by Jiaying Wang
parent cab724841a
commit 177033d0f2
+1 -1
View File
@@ -152,7 +152,7 @@ var actorWithdrawCmd = &cli.Command{
}
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)
}
}