Skip to content

Commit

Permalink
Fix issue after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilthoniel committed May 15, 2020
1 parent e60b935 commit a310504
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dkg/pedersen/mod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ type fakeAddressIterator struct {
cursor int
}

// Seek implements mino.AddressIterator.
func (it *fakeAddressIterator) Seek(index int) {
it.cursor = index
}

// HasNext implements mino.AddressIterator
func (it *fakeAddressIterator) HasNext() bool {
return it.cursor < len(it.players)
Expand Down

0 comments on commit a310504

Please sign in to comment.