From 84cb5812072c2b4d5864e078b0a1d72b2bc32332 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 1 Aug 2022 09:48:00 +0100 Subject: [PATCH] mypy --- lnbits/wallets/cliche.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/cliche.py b/lnbits/wallets/cliche.py index 72e5777b5..bf5f9faf7 100644 --- a/lnbits/wallets/cliche.py +++ b/lnbits/wallets/cliche.py @@ -49,7 +49,7 @@ class ClicheWallet(Wallet): if description_hash: ws = create_connection(self.endpoint) 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() else: