fix #7078
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user