Mark contributions as vetoed on incoming event

This commit is contained in:
2019-04-28 15:26:26 +01:00
parent 00b7b380b9
commit e1737392a7
4 changed files with 31 additions and 23 deletions
+2 -2
View File
@@ -35,13 +35,13 @@ export default Controller.extend({
vetoContribution (contributionId) {
this.kredits.veto(contributionId).then(transaction => {
window.confirm('Veto submitted to Ethereum blockhain: '+transaction.hash);
console.debug('[controllers:index] Veto submitted to Ethereum blockhain: '+transaction.hash);
});
},
confirmProposal (proposalId) {
this.kredits.vote(proposalId).then(transaction => {
window.confirm('Vote submitted to Ethereum blockhain: '+transaction.hash);
console.debug('[controllers:index] Vote submitted to Ethereum blockhain: '+transaction.hash);
});
},