From cec87f6caff2cca1e67cfba16c2917d94f15351d Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 23 May 2019 10:22:37 +0200 Subject: [PATCH] Dat gas issue --- 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 c5362cc..fcfbf71 100644 --- a/app/services/kredits.js +++ b/app/services/kredits.js @@ -206,7 +206,7 @@ export default Service.extend({ addContribution(attributes) { console.debug('[kredits] add contribution', attributes); - return this.kredits.Contribution.addContribution(attributes) + return this.kredits.Contribution.addContribution(attributes, { gasLimit: 300000 }) .then(data => { console.debug('[kredits] add contribution response', data); attributes.contributor = this.contributors.findBy('id', attributes.contributorId);