kivy: fix formatting in get_max_amount

This commit is contained in:
ThomasV 2015-10-31 15:25:22 +01:00
parent b8b2840d18
commit 3613e4ebf0
1 changed files with 2 additions and 1 deletions

View File

@ -441,9 +441,10 @@ class ElectrumWindow(App):
def get_max_amount(self):
from electrum.util import format_satoshis_plain
inputs = self.wallet.get_spendable_coins(None)
amount, fee = self.wallet.get_max_amount(self.electrum_config, inputs, None)
return self.format_amount(amount)
return format_satoshis_plain(amount, self.decimal_point())
def update_amount(self, amount, c):
if c == '<':