From bb74308ac9b9d58537d78a22e3c1ea6068f62541 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 11 Oct 2021 14:06:21 +0200 Subject: [PATCH] Fix missnamed variable Signed-off-by: Jakub Sztandera --- cli/wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/wallet.go b/cli/wallet.go index 5f3053293..f7ad79e77 100644 --- a/cli/wallet.go +++ b/cli/wallet.go @@ -648,7 +648,7 @@ var walletMarketWithdraw = &cli.Command{ } fmt.Printf("Successfully withdrew %s FIL\n", withdrawn) - if withdrawn.LessThan(amount) { + if withdrawn.LessThan(amt) { fmt.Printf("Note that this is less than the requested amount of %s FIL\n", amt) } }