jsonrpc_channel_sign - Convert hexdata to a string before signing
Fixes #3533
This commit is contained in:
parent
8adec9d0ad
commit
e066b2a9da
1 changed files with 1 additions and 0 deletions
|
@ -2907,6 +2907,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