Skip to content

Commit

Permalink
elaborating a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocynicys committed Oct 16, 2023
1 parent 3aaa7c9 commit 0d4e6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async fn main() {
// first so it updates the users' states and both the Watcher and the Responder operate only on registered users.
let listeners = (gatekeeper, (watcher.clone(), responder));

// This spawns a separate async actor that will be fed new blocks from a sync block listener.
// This spawns a separate async actor in the background that will be fed new blocks from a sync block listener.
// In this way we can have our components listen to blocks in an async manner from the async actor.
let listener = AsyncBlockListener::wrap_listener(listeners, dbm);

Expand Down

0 comments on commit 0d4e6ea

Please sign in to comment.