Skip to content

Commit

Permalink
Merge pull request cosmos#306 from ovrclk/aditya/correct-proposet
Browse files Browse the repository at this point in the history
Use Correct Proposer in TrustedValSet
  • Loading branch information
cwgoes authored Oct 21, 2020
2 parents 622fd9f + 0125f27 commit 479c677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ func (c *Chain) QueryValsetAtHeight(height clienttypes.Height) (*tmproto.Validat
tmVals := stakingtypes.Validators(res.Hist.Valset).ToTmValidators()
tmValSet := &tmtypes.ValidatorSet{
Validators: tmVals,
Proposer: tmVals[0],
}
tmValSet.GetProposer()
unlock()

return tmValSet.ToProto()
Expand Down

0 comments on commit 479c677

Please sign in to comment.