electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1b3f450267892fee5a5d78fdc2aee20650d28da2
parent bfae04e6f00579645a8f970bc4604fdc400b48ca
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 16 Aug 2015 11:43:59 +0200

fix #1401

Diffstat:
Mgui/qt/main_window.py | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -1239,9 +1239,10 @@ class ElectrumWindow(QMainWindow): outputs, fee, tx_desc, coins = r try: tx = self.wallet.make_unsigned_transaction(coins, outputs, self.config, fee) - if not tx: - raise BaseException(_("Insufficient funds")) - except Exception as e: + except NotEnoughFunds: + self.show_message(_("Insufficient funds")) + return + except BaseException as e: traceback.print_exc(file=sys.stdout) self.show_message(str(e)) return