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

INDY-1621: Fix for adding node with existing HAs #904

Merged
merged 3 commits into from
Sep 4, 2018

Conversation

ArtObr
Copy link
Contributor

@ArtObr ArtObr commented Aug 30, 2018

Signed-off-by: ArtObr artemobruchnikov@gmail.com

Signed-off-by: ArtObr <artemobruchnikov@gmail.com>
if updating_nym:
old_alias = self.getNodeData(updating_nym, isCommitted=False).get(ALIAS)
new_alias = new_data.get(ALIAS)
if old_alias != new_alias:
return True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just return True here, so for the client it's not clear what exactly is wrong (if this is non-unique IP, port or alias)

@ArtObr ArtObr changed the title INDY-1621: Fix for adding node with existing HAs INDY-1621: Fix for adding node with existing HAs [skip ci] [ci skip] Aug 31, 2018
@ArtObr ArtObr changed the title INDY-1621: Fix for adding node with existing HAs [skip ci] [ci skip] INDY-1621: Fix for adding node with existing HAs Aug 31, 2018
@ArtObr
Copy link
Contributor Author

ArtObr commented Aug 31, 2018

test this please

Signed-off-by: ArtObr <artemobruchnikov@gmail.com>
Signed-off-by: ArtObr <artemobruchnikov@gmail.com>
@ashcherbakov ashcherbakov merged commit c18111e into hyperledger:master Sep 4, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants