Skip to content

Commit fb14c02

Browse files
Merge pull request #90 from opentensor/fix/zyzniewski/missing_response
Fix: response is still missing for callback
2 parents 52ea239 + ba8e979 commit fb14c02

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)