Skip to content

Commit

Permalink
Even mocked PoA needs to be imported to obtain pools' data
Browse files Browse the repository at this point in the history
  • Loading branch information
karimodm committed Sep 19, 2023
1 parent 9d3b7c8 commit ca2f8f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ func (m *ManualPOA) RotateCommittee(_ iotago.EpochIndex, _ *account.Accounts) *a
func (m *ManualPOA) SetCommittee(_ iotago.EpochIndex, _ *account.Accounts) {
}

func (m *ManualPOA) ImportCommittee(_ iotago.EpochIndex, _ *account.Accounts) {
func (m *ManualPOA) ImportCommittee(_ iotago.EpochIndex, validators *account.Accounts) {
m.accounts = validators
m.committee = m.accounts.SelectCommittee(validators.IDs()...)
}

func (m *ManualPOA) Shutdown() {}
Expand Down

0 comments on commit ca2f8f4

Please sign in to comment.