From afd532b233379383594169f58119406549ee577b Mon Sep 17 00:00:00 2001
From: jbhusson <jonah@elixxir.io>
Date: Tue, 12 Oct 2021 17:25:33 -0400
Subject: [PATCH] Add debug print to drop path

---
 notifications/notifications.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/notifications/notifications.go b/notifications/notifications.go
index 49ebbd5..72a5e28 100644
--- a/notifications/notifications.go
+++ b/notifications/notifications.go
@@ -341,6 +341,7 @@ func (nb *Impl) ReceiveNotificationBatch(notifBatch *pb.NotificationBatch, auth
 
 	_, loaded := nb.roundStore.LoadOrStore(rid, time.Now())
 	if loaded {
+		jww.DEBUG.Printf("Dropping duplicate notification batch for round %+v", notifBatch.RoundID)
 		return nil
 	}
 
-- 
GitLab