Skip to content

Commit

Permalink
fix(sl): when getting proposer per height get all sequencers and not …
Browse files Browse the repository at this point in the history
…just bonded (#1198)
  • Loading branch information
srene authored Nov 5, 2024
1 parent 74b1b8b commit 81c2d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settlement/dymension/dymension.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (c *Client) GetLatestFinalizedHeight() (uint64, error) {
// In case of negative height, it will return the latest proposer.
func (c *Client) GetProposerAtHeight(height int64) (*types.Sequencer, error) {
// Get all sequencers to find the proposer address
seqs, err := c.GetBondedSequencers()
seqs, err := c.GetAllSequencers()
if err != nil {
return nil, fmt.Errorf("get bonded sequencers: %w", err)
}
Expand Down

0 comments on commit 81c2d3d

Please sign in to comment.