parse_URI: amount is in satoshis

This commit is contained in:
ThomasV 2014-06-15 09:26:52 +02:00
parent af08e704d9
commit f43ddf1d8f
1 changed files with 1 additions and 1 deletions

View File

@ -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: