Skip to content

Commit 619233f

Browse files
committed
Async iteration
1 parent dde3005 commit 619233f

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
@@ -437,7 +437,7 @@ def __next__(self):
437437
# If we cannot retrieve the next page
438438
if not next_page:
439439
self.loading_complete = True
440-
raise StopAsyncIteration
440+
raise StopIteration
441441

442442
# Update the buffer with the newly fetched records
443443
self._buffer = iter(next_page)

0 commit comments

Comments
 (0)