commit a4b24df4bb123db86d0d75113b889c2453bdf25f
parent 2801539087175937e1b068d2c5005d147543c9d5
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 3 Sep 2019 14:51:07 +0200
fix json error in listrequests
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -986,7 +986,7 @@ class LNWallet(LNWorker):
return {
'type': PR_TYPE_LN,
'status': status,
- 'amount': amount_sat,
+ 'amount': int(amount_sat),
'time': timestamp,
'exp': lnaddr.get_expiry(),
'message': description,