diff --git a/async_substrate_interface/sync_substrate.py b/async_substrate_interface/sync_substrate.py index c2c9b3c..1ede60a 100644 --- a/async_substrate_interface/sync_substrate.py +++ b/async_substrate_interface/sync_substrate.py @@ -1626,7 +1626,7 @@ def _make_rpc_request( if item_id not in request_manager.responses or isinstance( result_handler, Callable ): - if response := _received.pop(item_id): + if response := _received.pop(item_id, None): if ( isinstance(result_handler, Callable) and not subscription_added