From 2026ab9a7c3b875eefc262f154d6301338a598a1 Mon Sep 17 00:00:00 2001 From: hoka <187822495+hokaxbt@users.noreply.github.com> Date: Thu, 9 Jan 2025 01:54:41 +0700 Subject: [PATCH] fix request_id (#1180) --- src/dipdup/datasources/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dipdup/datasources/__init__.py b/src/dipdup/datasources/__init__.py index 23ce0ad52..d2944eb86 100644 --- a/src/dipdup/datasources/__init__.py +++ b/src/dipdup/datasources/__init__.py @@ -177,7 +177,7 @@ async def _jsonrpc_request( raw: bool = False, ws: bool = False, ) -> Any: - request_id = uuid4().hex + request_id = str(int(uuid4())) request = { 'jsonrpc': '2.0', 'id': request_id,