Skip to content

Commit ba8e979

Browse files
fix: response is still missing for callback
1 parent 52ea239 commit ba8e979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async_substrate_interface/sync_substrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ def _make_rpc_request(
16261626
if item_id not in request_manager.responses or isinstance(
16271627
result_handler, Callable
16281628
):
1629-
if response := _received.pop(item_id):
1629+
if response := _received.pop(item_id, None):
16301630
if (
16311631
isinstance(result_handler, Callable)
16321632
and not subscription_added

0 commit comments

Comments
 (0)