fixup! fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp

This commit is contained in:
Barry Gitarts 2018-06-26 17:19:26 -04:00
parent 9e227df03d
commit 0f0c7261c4
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ const AddPoll = withFormik({
const { eth: { getBlockNumber }, utils: { asciiToHex } } = window.web3; const { eth: { getBlockNumber }, utils: { asciiToHex } } = window.web3;
const { addPoll } = PollManager.methods; const { addPoll } = PollManager.methods;
const currentBlock = await getBlockNumber(); const currentBlock = await getBlockNumber();
const endTime = currentBlock * oneDayinBlocks * 90; const endTime = currentBlock + (oneDayinBlocks * 90);
addPoll( addPoll(
endTime, endTime,
asciiToHex(description) asciiToHex(description)