Skip to content

Commit

Permalink
Use correct package in reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jun 10, 2022
1 parent e9ab376 commit ba7b3d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exp/lighthorizon/index/cmd/batch/reduce/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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.
//
Expand Down

0 comments on commit ba7b3d9

Please sign in to comment.