Skip to content

Commit

Permalink
Merge pull request #140 from dedis/frontend-polling-fix
Browse files Browse the repository at this point in the history
Fix the polling when node is already setup
  • Loading branch information
cmsigrist authored Jun 7, 2022
2 parents 7638273 + 68f48bc commit d6980ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const pollDKG = (
}

// TODO: define the error code for the case when a node is already setup
if (result.Error.Message.includes('already setup')) {
if (result.Error.Message.includes('setup() was already called, only one call is allowed')) {
return resolve(result);
}

Expand Down

0 comments on commit d6980ed

Please sign in to comment.