-
Notifications
You must be signed in to change notification settings - Fork 98
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
Avoid double voting with same option #1728
Conversation
- getVotes has been used instead of getVote as the latter throws error if the specified address did't vote yet - disable the already voted option Signed-off-by: Karoly Albert Szabo <[email protected]>
Signed-off-by: Karoly Albert Szabo <[email protected]> # Conflicts: # test/unit/specs/components/governance/PageProposal.spec.js # test/unit/specs/store/governance/votes.spec.js
Codecov Report
@@ Coverage Diff @@
## develop #1728 +/- ##
==========================================
- Coverage 97.74% 97.5% -0.24%
==========================================
Files 102 102
Lines 2083 2088 +5
Branches 93 93
==========================================
Hits 2036 2036
- Misses 38 41 +3
- Partials 9 11 +2
|
Codecov Report
@@ Coverage Diff @@
## develop #1728 +/- ##
===========================================
+ Coverage 97.74% 97.74% +<.01%
===========================================
Files 102 102
Lines 2083 2085 +2
Branches 93 93
===========================================
+ Hits 2036 2038 +2
Misses 38 38
Partials 9 9
|
- fixed lcdClientMock - added disable check for ModalVote Signed-off-by: Karoly Albert Szabo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks ! some minor comments
Signed-off-by: Karoly Albert Szabo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Description:
Closes #1683
❤️ Thank you!
CHANGELOG.md
with issue # and GitHub usernameFiles changed
in the github PR explorer