From a4b24df4bb123db86d0d75113b889c2453bdf25f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 3 Sep 2019 14:51:07 +0200 Subject: [PATCH] fix json error in listrequests --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index d5b769595..98491ae6b 100644 --- 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,