This commit is contained in:
ben 2022-08-01 09:48:00 +01:00
parent 0d4ccad6d7
commit 84cb581207

View File

@ -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: