From d2ebbf5db64243c124c8946595e71f356893ee57 Mon Sep 17 00:00:00 2001
From: vertbyqb <vertbyqb@onionmail.org>
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 bac6c3e6e..646519a0f 100644
--- a/lbry/extras/daemon/daemon.py
+++ b/lbry/extras/daemon/daemon.py
@@ -2908,6 +2908,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(