From 2b0b83482700a98987bdbb43f0ff466c328b9f2a Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Thu, 28 Jun 2018 10:56:14 -0400 Subject: [PATCH] fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp --- app/components/simple-voting/AddPoll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/simple-voting/AddPoll.js b/app/components/simple-voting/AddPoll.js index 35a5ca5..c9f64b5 100644 --- a/app/components/simple-voting/AddPoll.js +++ b/app/components/simple-voting/AddPoll.js @@ -89,7 +89,7 @@ const AddPoll = withFormik({ }, async handleSubmit(values, { setSubmitting, setErrors, props }) { const { description } = values; - const { eth: { getBlockNumber }, utils: { asciiToHex } } = window.web3; + const { eth: { getBlockNumber } } = window.web3; const { addPoll } = PollManager.methods; const currentBlock = await getBlockNumber(); const endTime = currentBlock + (oneDayinBlocks * 90);