electrum

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

commit 4eff85957d83f2e8c7f435e8c2ac7365cf06aec2
parent 3b49b5adca4bd7901148c343d9af290b3a0fc370
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 16 Oct 2015 12:25:49 +0200

kivy: fix amount

Diffstat:
Mgui/kivy/uix/screens.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py @@ -195,7 +195,7 @@ class SendScreen(CScreen): self.ids.message_e.text = uri.get('message', '') amount = uri.get('amount') if amount: - amount_str = str( a / Decimal(self.app.decimal_point())) + amount_str = str( Decimal(amount) / pow(10, self.app.decimal_point())) self.ids.amount_e.text = amount_str + ' ' + self.app.base_unit def do_clear(self):