electrum

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

commit f43ddf1d8f84040cc87770015812b164f9afc04c
parent af08e704d956f8d83909fd00aa60603ff64113d3
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 15 Jun 2014 09:26:52 +0200

parse_URI: amount is in satoshis

Diffstat:
Mlib/util.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.py b/lib/util.py @@ -186,7 +186,7 @@ def parse_URI(uri): k = int(m.group(2)) - 8 amount = Decimal(m.group(1)) * pow( Decimal(10) , k) else: - amount = Decimal(am) + amount = Decimal(am) * 100000000 if 'message' in pq: message = pq['message'][0] if 'label' in pq: