1
0
This commit is contained in:
ThomasV
2016-02-03 11:01:36 +01:00
parent 8392fa9504
commit 8b68a742d1
3 changed files with 8 additions and 14 deletions

View File

@@ -453,7 +453,8 @@ class ElectrumWindow(App):
def get_max_amount(self):
inputs = self.wallet.get_spendable_coins(None)
amount, fee = self.wallet.get_max_amount(self.electrum_config, inputs, None)
addr = str(self.send_screen.screen.address) or self.wallet.dummy_address()
amount, fee = self.wallet.get_max_amount(self.electrum_config, inputs, addr, None)
return format_satoshis_plain(amount, self.decimal_point())
def format_amount(self, x, is_diff=False, whitespaces=False):