android: fix recv amount bug

This commit is contained in:
ThomasV 2015-02-25 18:00:38 +01:00
parent ddaf2c3121
commit 217dc2f55b
1 changed files with 2 additions and 2 deletions

View File

@ -660,9 +660,9 @@ def receive_loop():
modal_dialog('URI copied to clipboard', receive_URI)
elif event["name"]=="amount":
amount = modal_input('Amount', 'Amount you want receive (in BTC). ', format_satoshis(receive_amount) if receive_amount else None, "numberDecimal")
amount = modal_input('Amount', 'Amount you want to receive (in BTC). ', format_satoshis(receive_amount) if receive_amount else None, "numberDecimal")
if amount is not None:
receive_amount = 100000000 * Decimal(amount) if amount else None
receive_amount = int(100000000 * Decimal(amount)) if amount else None
out = 'receive'
elif event["name"]=="message":