From 051c882a3f5288b467fbee1950ec391204a245c4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 4 Nov 2013 10:16:48 +0100 Subject: [PATCH] use returned amount with ! shortcut --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index dd0a947b4..f1b465a73 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -793,7 +793,7 @@ class ElectrumWindow(QMainWindow): c, u = self.wallet.get_account_balance(self.current_account) inputs, total, fee = self.wallet.choose_tx_inputs_from_account( c + u, 0, self.current_account) fee = self.wallet.estimated_fee(inputs) - amount = c + u - fee + amount = total - fee self.amount_e.setText( self.format_amount(amount) ) self.fee_e.setText( self.format_amount( fee ) ) return