changed to hex

This commit is contained in:
ben 2022-08-01 09:50:24 +01:00
parent 84cb581207
commit 3e40d91466

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.decode()}" f"create-invoice --msatoshi {amount*1000} --description_hash {description_hash.hex()}"
) )
r = ws.recv() r = ws.recv()
else: else: