File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
async_substrate_interface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ def __init__(
392
392
self .loading_complete = False
393
393
self ._buffer = iter (self .records ) # Initialize the buffer with initial records
394
394
395
- async def retrieve_next_page (self , start_key ) -> list :
395
+ def retrieve_next_page (self , start_key ) -> list :
396
396
result = self .substrate .query_map (
397
397
module = self .module ,
398
398
storage_function = self .storage_function ,
@@ -1322,7 +1322,7 @@ def subscribe_block_headers(
1322
1322
Example:
1323
1323
1324
1324
```
1325
- async def subscription_handler(obj, update_nr, subscription_id):
1325
+ def subscription_handler(obj, update_nr, subscription_id):
1326
1326
1327
1327
print(f"New block #{obj['header']['number']} produced by {obj['header']['author']}")
1328
1328
You can’t perform that action at this time.
0 commit comments