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

I have Issue vote not get casted #28

Open
sunny3008 opened this issue Oct 25, 2019 · 0 comments
Open

I have Issue vote not get casted #28

sunny3008 opened this issue Oct 25, 2019 · 0 comments

Comments

@sunny3008
Copy link

sunny3008 commented Oct 25, 2019

i trying to cast vote but there are some errors when submit the vote.
126 castVote: function() {
127 var candidateId = $('#candidatesSelect').val();
128 App.contracts.Election.deployed().then(function(instance) {
129 return instance.vote(candidateId, { from: App.account });
130 }).then(function(result) {
131 // Wait for votes to update
132 $("#content").hide();
133 $("#loader").show();
134 }).catch(function(err) {
135 console.error(err);
136 });
137 }
138 };

at line no 135

Screenshot (56)

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