Skip to content

Commit

Permalink
fix: query historical validators correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Jul 28, 2023
1 parent 3e96880 commit 28fa343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tendermint/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (rpc *RPC) GetActiveSetAtBlock(height int64) (map[string]bool, error) {
activeSetMap[validator.Address] = true
}

if len(response.Result.Validators) <= constants.ActiveSetPagination {
if len(response.Result.Validators) < constants.ActiveSetPagination {
break
}

Expand Down

0 comments on commit 28fa343

Please sign in to comment.