mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 05:33:47 +01:00
cln invoice only int (#844)
This commit is contained in:
parent
9b27c2da01
commit
7fc1361475
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user