Browse Source

fix json error in listrequests

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
a4b24df4bb
  1. 2
      electrum/lnworker.py

2
electrum/lnworker.py

@ -986,7 +986,7 @@ class LNWallet(LNWorker):
return { return {
'type': PR_TYPE_LN, 'type': PR_TYPE_LN,
'status': status, 'status': status,
'amount': amount_sat, 'amount': int(amount_sat),
'time': timestamp, 'time': timestamp,
'exp': lnaddr.get_expiry(), 'exp': lnaddr.get_expiry(),
'message': description, 'message': description,

Loading…
Cancel
Save