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:
@@ -193,7 +193,7 @@ export default Service.extend({
|
|||||||
veto(contributionId) {
|
veto(contributionId) {
|
||||||
console.debug('[kredits] veto against', 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 => {
|
.then(data => {
|
||||||
console.debug('[kredits] veto response', data);
|
console.debug('[kredits] veto response', data);
|
||||||
return data;
|
return data;
|
||||||
|
|||||||
Reference in New Issue
Block a user