From 00b7b380b918e2aade6d258fa4da5c11c08209e6 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 28 Apr 2019 15:06:00 +0100 Subject: [PATCH] Fix veto tx failing Still have to set the gas limit for most functions in order for them to work. :/ --- app/services/kredits.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/kredits.js b/app/services/kredits.js index f3358d1..740c4d8 100644 --- a/app/services/kredits.js +++ b/app/services/kredits.js @@ -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;