diff --git a/lnbits/wallets/cln.py b/lnbits/wallets/cln.py index b136a0c2..a92501f2 100644 --- a/lnbits/wallets/cln.py +++ b/lnbits/wallets/cln.py @@ -84,7 +84,7 @@ class CoreLightningWallet(Wallet): description_hash: Optional[bytes] = None, ) -> InvoiceResponse: label = "lbl{}".format(random.random()) - msat = amount * 1000 + msat: int = int(amount * 1000) try: if description_hash and not self.supports_description_hash: raise Unsupported("description_hash")