Skip to content

Commit

Permalink
Merge pull request #375 from cybercongress/373-index-fix
Browse files Browse the repository at this point in the history
Search index fix
  • Loading branch information
cyborgshead committed Aug 14, 2019
2 parents de08f9c + d521d2a commit e9243b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/rank/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (s *RankState) Load(ctx sdk.Context, log log.Logger) {
s.cidCount = int64(s.mainKeeper.GetCidsCount(ctx))

s.index = s.BuildSearchIndex(log)
s.index.Load(s.linkIndexedKeeper.GetNextOutLinks())
s.index.Load(s.linkIndexedKeeper.GetOutLinks())
s.getIndexError = s.index.Run()

// if we fell down and need to start new rank calculation
Expand Down

0 comments on commit e9243b9

Please sign in to comment.