Skip to content

Commit a476dd0

Browse files
committed
docs: add comment fore more context
1 parent 2a5e61c commit a476dd0

File tree

1 file changed

+3
-0
lines changed
  • batcher/aligned-batcher/src/zk_utils

1 file changed

+3
-0
lines changed

batcher/aligned-batcher/src/zk_utils/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ pub(crate) async fn filter_disabled_verifiers(
111111
}
112112
})
113113
.collect();
114+
115+
// Send invalid proof messages to the clients whose proofs were removed.
116+
// This is outside the loop because we needed to use await to send the message and we can't do that inside the filter_map.
114117
for entry in removed_entries {
115118
let ws_sink = entry.messaging_sink.as_ref();
116119
if let Some(ws_sink) = ws_sink {

0 commit comments

Comments
 (0)