From a8b4c61a44c6515cd8b090411464f7648ea1e2b3 Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 7 Aug 2020 11:33:35 -0400 Subject: [PATCH] comment rpc call includes per jsonrpc standard --- lbry/extras/daemon/comment_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/extras/daemon/comment_client.py b/lbry/extras/daemon/comment_client.py index 840c4a8aa..5b66d5041 100644 --- a/lbry/extras/daemon/comment_client.py +++ b/lbry/extras/daemon/comment_client.py @@ -56,7 +56,7 @@ def sign_comment(comment: dict, channel: Output, abandon=False): async def jsonrpc_post(url: str, method: str, params: dict = None, **kwargs) -> any: params = params or {} params.update(kwargs) - json_body = {'jsonrpc': '2.0', 'id': None, 'method': method, 'params': params} + json_body = {'jsonrpc': '2.0', 'id': 1, 'method': method, 'params': params} async with utils.aiohttp_request('POST', url, json=json_body) as response: try: result = await response.json()