diff --git a/app/components/simple-voting/AddPoll.js b/app/components/simple-voting/AddPoll.js index 1c5ff00..58381b2 100644 --- a/app/components/simple-voting/AddPoll.js +++ b/app/components/simple-voting/AddPoll.js @@ -99,7 +99,7 @@ const AddPoll = withFormik({ toSend.estimateGas() .then(gasEstimated => { console.log("addPoll gas estimated: "+gasEstimated); - return toSend.send({gas: gasEstimated + 1000}); + return toSend.send({gas: gasEstimated + 100000}); }) .then(res => { console.log('sucess:', res); diff --git a/app/components/simple-voting/PollsList.js b/app/components/simple-voting/PollsList.js index fa714cd..2550faf 100644 --- a/app/components/simple-voting/PollsList.js +++ b/app/components/simple-voting/PollsList.js @@ -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);