Skip to content

Commit

Permalink
fix: merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
jim380 committed Sep 17, 2023
1 parent 011caf5 commit 7553231
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rest/validatorsets.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,11 @@ func mergeMap(a map[string][]string, b map[string][]string) map[string][]string
return a
}

<<<<<<< HEAD
func runPages(currentBlockHeight int64, vSets *validatorsets, vSetsResult map[string][]string, pages int) {
res, err := HttpQuery(RESTAddr + "/validatorsets/" + fmt.Sprint(currentBlockHeight) + "?page=" + strconv.Itoa(pages) + "&limit=200")
=======
func runPages(cfg config.Config, currentBlockHeight int64, vSets *validatorsetsLegacy, vSetsResult map[string][]string, pages int) {
route := getValidatorSetByHeightRoute(cfg)

res, err := HttpQuery(RESTAddr + route + fmt.Sprint(currentBlockHeight))

>>>>>>> develop
if err != nil {
zap.L().Fatal("", zap.Bool("Success", false), zap.String("err", err.Error()))
}
Expand Down

0 comments on commit 7553231

Please sign in to comment.