tfix #7078 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7ca64ebbd8872e8ebe0b0c3849e2ec078e0dfcab DIR parent 95b7c976e001e0ab16185e5b61c257906fe2ca18 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 3 Mar 2021 15:35:00 +0100 fix #7078 Diffstat: M electrum/invoices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/invoices.py b/electrum/invoices.py t@@ -223,7 +223,7 @@ class LNInvoice(Invoice): d = self.to_json() d.update({ 'pubkey': self._lnaddr.pubkey.serialize().hex(), - 'amount_BTC': self._lnaddr.amount, + 'amount_BTC': str(self._lnaddr.amount), 'rhash': self._lnaddr.paymenthash.hex(), 'description': self._lnaddr.get_description(), 'exp': self._lnaddr.get_expiry(),