Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

add unvote function #776

Merged
merged 1 commit into from
May 10, 2021
Merged

add unvote function #776

merged 1 commit into from
May 10, 2021

Conversation

cloud8little
Copy link
Contributor

No description provided.

@erikzhang
Copy link
Member

Test?

@shargon
Copy link
Member

shargon commented May 9, 2021

Is not better to allow null on publicKey and use vote?

@cloud8little
Copy link
Contributor Author

Is not better to allow null on publicKey and use vote?

If you mean set the publicKey as null by default when user did not input the publicKey, it is feasible, but I think it is not straightforward to express the meaning of unvote. User may forget to input the publickey field and actually it will cancel the user's vote, it is very confused.

Copy link
Contributor

@nicolegys nicolegys left a comment

Choose a reason for hiding this comment

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

tested

@shargon shargon merged commit 640ec49 into neo-project:master May 10, 2021
@cloud8little cloud8little deleted the add_unvote branch May 12, 2021 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants