mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-28 01:32:38 +02:00
mypy
This commit is contained in:
parent
0d4ccad6d7
commit
84cb581207
@ -49,7 +49,7 @@ class ClicheWallet(Wallet):
|
|||||||
if description_hash:
|
if description_hash:
|
||||||
ws = create_connection(self.endpoint)
|
ws = create_connection(self.endpoint)
|
||||||
ws.send(
|
ws.send(
|
||||||
f"create-invoice --msatoshi {amount*1000} --description_hash {description_hash}"
|
f"create-invoice --msatoshi {amount*1000} --description_hash {description_hash.decode()}"
|
||||||
)
|
)
|
||||||
r = ws.recv()
|
r = ws.recv()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user