tfix #4255 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 986985c3988b34d09ddd3fbfb984f4445d308d77 DIR parent 3bf5afa61a8be467ecfb4a4fad22d8e678302126 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 12 Apr 2018 16:44:59 +0200 fix #4255 Diffstat: M gui/kivy/main_window.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py t@@ -662,6 +662,8 @@ class ElectrumWindow(App): def get_max_amount(self): inputs = self.wallet.get_spendable_coins(None, self.electrum_config) + if not inputs: + return '' addr = str(self.send_screen.screen.address) or self.wallet.dummy_address() outputs = [(TYPE_ADDRESS, addr, '!')] tx = self.wallet.make_unsigned_transaction(inputs, outputs, self.electrum_config)