Add comment.

This commit is contained in:
2023-07-05 15:17:05 -05:00
parent 67f4bab8ba
commit 29cad48db7
+1
View File
@@ -1218,6 +1218,7 @@ func (sds *Service) backfillDetectedGaps(blockGaps []*interfaces.BlockGap) {
wg.Wait()
}
// currentPosition returns the current block height for both the BlockChain and the statediff indexer.
func (sds *Service) currentPosition() servicePosition {
ret := servicePosition{}
chainBlock := sds.BlockChain.CurrentBlock()