Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to add curated miner to a paranet where it already is added into returns error. #164

Open
Larsk97 opened this issue Oct 18, 2024 · 0 comments

Comments

@Larsk97
Copy link

Larsk97 commented Oct 18, 2024

Playing around with v8/develop branch and code from https://github.com/OriginTrail/dkg.js/blob/v8/develop/examples/curated-paranet-demo.js

Using the function dkg.paranet.addCuratedMiners(<paranetUAL>, <listOfMiners>) will result in error of one of the miners in the list already is added. Should this function rather just warn that it is already added, and do nothing for that specific one. Before adding the others if it is not yet added?

{C4EF1C78-A7D9-4EDF-9C24-2AB83ED37B55}
{3D86D3DD-E049-48E8-BE5D-C851653D0BBD}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant