From d80480df0f455d00259a9c8e2831c9361cb342cb Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Thu, 22 Jun 2023 14:21:09 -0500 Subject: [PATCH] Up to and including the current block... --- statediff/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statediff/service.go b/statediff/service.go index 78d57814a..61ed75907 100644 --- a/statediff/service.go +++ b/statediff/service.go @@ -1187,7 +1187,7 @@ func (sds *Service) Backfill() { func (sds *Service) backfillHeadGap(indexerBlockNumber uint64, chainBlockNumber uint64) { headGap := chainBlockNumber - indexerBlockNumber var ch = make(chan uint64, headGap) - for bn := indexerBlockNumber; bn < chainBlockNumber; bn++ { + for bn := indexerBlockNumber; bn <= chainBlockNumber; bn++ { ch <- bn }