Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Oct 31, 2024
1 parent 9effc9d commit f6fbd53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/submodule/f3/f3_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,10 @@ func (f3api *f3API) F3GetProgress(context.Context) (gpbft.Instant, error) {
}
return f3api.f3module.F3.Progress(), nil
}

func (f3api *f3API) F3ListParticipants(ctx context.Context) ([]types.F3Participant, error) {
if f3api.f3module.F3 == nil {
return nil, types.ErrF3Disabled
}
return f3api.f3module.F3.ListParticipants(), nil
}

0 comments on commit f6fbd53

Please sign in to comment.