Increasing gasLimit
This commit is contained in:
parent
394f7916d4
commit
edce31e574
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue