From e066b2a9da91cec29d7bad203940071e21498e1c Mon Sep 17 00:00:00 2001 From: vertbyqb Date: Sun, 2 Jan 2022 00:51:34 -0600 Subject: [PATCH] jsonrpc_channel_sign - Convert hexdata to a string before signing Fixes #3533 --- lbry/extras/daemon/daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 372f92bde..900fc4b21 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2907,6 +2907,7 @@ class Daemon(metaclass=JSONRPCServerType): "signing_ts": (str) The timestamp used to sign the comment, } """ + hexdata = str(hexdata) wallet = self.wallet_manager.get_wallet_or_default(wallet_id) assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first." signing_channel = await self.get_channel_or_error(