Skip to content
Snippets Groups Projects
Unverified Commit b1225b33 authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

Update client/drng.go


Co-Authored-By: default avatarLuca Moser <moser.luca@gmail.com>
parent df479a86
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ func (api *GoShimmerAPI) GetRandomness() (*webapi_randomness.Response, error) { ...@@ -37,7 +37,7 @@ func (api *GoShimmerAPI) GetRandomness() (*webapi_randomness.Response, error) {
return res, nil return res, nil
} }
// GetRandomness gets the current randomness. // GetCommittee gets the current committee.
func (api *GoShimmerAPI) GetCommittee() (*webapi_committee.Response, error) { func (api *GoShimmerAPI) GetCommittee() (*webapi_committee.Response, error) {
res := &webapi_committee.Response{} res := &webapi_committee.Response{}
if err := api.do(http.MethodGet, func() string { if err := api.do(http.MethodGet, func() string {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment