Skip to content

Commit 1992e04

Browse files
committed
refactor: had comment in the wrong place from 8283569
1 parent cb0be80 commit 1992e04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

silverback/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ async def __create_snapshot_handler(self) -> StateSnapshot:
257257
last_nonce_used=self.state.get("system:last_nonce_used"),
258258
)
259259

260-
# To ensure we don't have too many forks at once
261-
# HACK: Until `NetworkManager.fork` (and `ProviderContextManager`) allows concurrency
262-
263260
@property
264261
def nonce(self) -> int:
265262
if not self.signer:
@@ -332,6 +329,9 @@ async def ensure_log(log, *args, **kwargs):
332329

333330
return ensure_log
334331

332+
# To ensure we don't have too many forks at once
333+
# HACK: Until `NetworkManager.fork` (and `ProviderContextManager`) allows concurrency
334+
335335
def _with_fork_decorator(self, handler: Callable) -> Callable:
336336
# Trigger worker-side handling using fork network by wrapping handler
337337
fork_context = self.provider.network_manager.fork

0 commit comments

Comments
 (0)