jsonrpc_channel_sign - Convert hexdata to a string before signing

Fixes #3533
This commit is contained in:
vertbyqb 2022-01-02 00:51:34 -06:00 committed by Lex Berezhny
parent e6efc1ad4a
commit d2ebbf5db6

View file

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