Skip to content

Commit

Permalink
use tm GetProposer method
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaSripal committed Oct 21, 2020
1 parent 622fd9f commit 0125f27
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 0125f27

Please sign in to comment.