From c7e0069cee25a26f7e690c91921b5c56b6fe1dc1 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Mon, 5 Oct 2020 18:46:18 +0200
Subject: [PATCH] [fix] #172: balance: Forget to rename variable in pending tx

---
 silkaj/money.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/silkaj/money.py b/silkaj/money.py
index f9540b6d..945d6c29 100644
--- a/silkaj/money.py
+++ b/silkaj/money.py
@@ -72,7 +72,7 @@ async def show_amount_from_pubkey(pubkey, inputs_balance):
     display = list()
     display.append(["Balance of pubkey", pubkey])
     if totalAmountInput - balance != 0:
-        display_amount(display, "Blockchain", amount, ud_value, currency_symbol)
+        display_amount(display, "Blockchain", balance, ud_value, currency_symbol)
         display_amount(
             display,
             "Pending transaction",
-- 
GitLab