Fix veto tx failing

Still have to set the gas limit for most functions in order for them to
work. :/
This commit is contained in:
2019-04-28 15:06:00 +01:00
parent 9821c8b2ea
commit 00b7b380b9
+1 -1
View File
@@ -193,7 +193,7 @@ export default Service.extend({
veto(contributionId) {
console.debug('[kredits] veto against', contributionId);
return this.kredits.Contribution.functions.veto(contributionId)
return this.kredits.Contribution.functions.veto(contributionId, { gasLimit: 300000 })
.then(data => {
console.debug('[kredits] veto response', data);
return data;