From ba7b3d95c6e3b1d4ba12afd842a2465474fb06b7 Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Thu, 9 Jun 2022 17:01:11 -0700 Subject: [PATCH] Use correct package in reduce --- exp/lighthorizon/index/cmd/batch/reduce/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exp/lighthorizon/index/cmd/batch/reduce/main.go b/exp/lighthorizon/index/cmd/batch/reduce/main.go index 0fa871d38d..ac80ac932b 100644 --- a/exp/lighthorizon/index/cmd/batch/reduce/main.go +++ b/exp/lighthorizon/index/cmd/batch/reduce/main.go @@ -10,6 +10,7 @@ import ( "sync" "github.com/stellar/go/exp/lighthorizon/index" + types "github.com/stellar/go/exp/lighthorizon/index/types" "github.com/stellar/go/support/errors" "github.com/stellar/go/support/log" ) @@ -337,7 +338,7 @@ func (cfg *ReduceConfig) shouldProcessTx(txPrefix byte, routineIndex uint32) boo // For every index that exists in `dest`, finds the corresponding index in // `source` and merges it into `dest`'s version. -func mergeIndices(dest, source map[string]*index.CheckpointIndex) error { +func mergeIndices(dest, source map[string]*types.CheckpointIndex) error { for name, index := range dest { // The source doesn't contain this particular index. //