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,
|
description_hash: Optional[bytes] = None,
|
||||||
) -> InvoiceResponse:
|
) -> InvoiceResponse:
|
||||||
label = "lbl{}".format(random.random())
|
label = "lbl{}".format(random.random())
|
||||||
msat = amount * 1000
|
msat: int = int(amount * 1000)
|
||||||
try:
|
try:
|
||||||
if description_hash and not self.supports_description_hash:
|
if description_hash and not self.supports_description_hash:
|
||||||
raise Unsupported("description_hash")
|
raise Unsupported("description_hash")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user