From f967519aa9dbb8327dfff0cf1c2018261d4ffa30 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Mon, 23 Feb 2026 11:14:23 +0200 Subject: [PATCH] fix(syncer): remove duplicate notify_subscribers calls --- syncer/src/actor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/syncer/src/actor.rs b/syncer/src/actor.rs index 239bbcd..102d72b 100644 --- a/syncer/src/actor.rs +++ b/syncer/src/actor.rs @@ -458,7 +458,6 @@ where // If found, persist the block and send to application self.cache_block(round, commitment, block.clone()).await; application.report(Update::NotarizedBlock(block.clone())).await; - self.notify_subscribers(commitment, &block).await; } else { debug!(?round, "notarized block missing"); resolver.fetch(Request::::Notarized { round }).await; @@ -804,7 +803,6 @@ where // Cache the notarization and block self.cache_block(round, commitment, block.clone()).await; self.cache.put_notarization(round, commitment, notarization).await; - self.notify_subscribers(commitment, &block).await; }, } },