mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
jsonrpc_channel_sign - Convert hexdata to a string before signing
Fixes #3533
This commit is contained in:
parent
e6efc1ad4a
commit
d2ebbf5db6
1 changed files with 1 additions and 0 deletions
|
@ -2908,6 +2908,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
"signing_ts": (str) The timestamp used to sign the comment,
|
"signing_ts": (str) The timestamp used to sign the comment,
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
hexdata = str(hexdata)
|
||||||
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
||||||
assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first."
|
assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first."
|
||||||
signing_channel = await self.get_channel_or_error(
|
signing_channel = await self.get_channel_or_error(
|
||||||
|
|
Loading…
Add table
Reference in a new issue