Increasing gasLimit

This commit is contained in:
Richard Ramos 2018-06-28 09:30:37 -04:00 committed by Barry Gitarts
parent 394f7916d4
commit edce31e574
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Poll extends Component {
toSend.estimateGas()
.then(gasEstimated => {
console.log("voting gas estimated: " + gasEstimated);
return toSend.send({gas: gasEstimated + 1000});
return toSend.send({gas: gasEstimated + 100000});
})
.then(res => {
console.log('sucess:', res);