We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7154fef commit 8443713Copy full SHA for 8443713
async_substrate_interface/async_substrate.py
@@ -2512,6 +2512,7 @@ async def _make_rpc_request(
2512
subscription_added = False
2513
2514
async with self.ws as ws:
2515
+ await ws.mark_waiting_for_response()
2516
for payload in payloads:
2517
item_id = await ws.send(payload["payload"])
2518
request_manager.add_request(item_id, payload["id"])
@@ -2523,7 +2524,6 @@ async def _make_rpc_request(
2523
2524
logger.debug(
2525
f"Submitted payload ID {payload['id']} with websocket ID {item_id}: {output_payload}"
2526
)
- await ws.mark_waiting_for_response()
2527
2528
while True:
2529
for item_id in request_manager.unresponded():
0 commit comments