From 033a445658dac6a58720427bb363c55de80ba3ab Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Fri, 22 Nov 2024 11:22:47 -0400 Subject: [PATCH] fix: filter criteria --- eth-node/bridge/geth/wakuv2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth-node/bridge/geth/wakuv2.go b/eth-node/bridge/geth/wakuv2.go index 4fc180fcec0..39243e60173 100644 --- a/eth-node/bridge/geth/wakuv2.go +++ b/eth-node/bridge/geth/wakuv2.go @@ -350,7 +350,7 @@ func (w *gethWakuV2Wrapper) ProcessMailserverBatch( criteria := store.FilterCriteria{ TimeStart: proto.Int64(batch.From.UnixNano()), - TimeEnd: proto.Int64(batch.From.UnixNano()), + TimeEnd: proto.Int64(batch.To.UnixNano()), ContentFilter: protocol.NewContentFilter(pubsubTopic, contentTopics...), }