electrum

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

commit 3613e4ebf0014c9e4a4cb73b35afdd0e9a4424a2
parent b8b2840d18c9f9274bd8191feb258671a6b1c45b
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 31 Oct 2015 15:25:22 +0100

kivy: fix formatting in get_max_amount

Diffstat:
Mgui/kivy/main_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py @@ -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 == '<':