Skip to content

Commit

Permalink
Merge pull request #204 from vbaranov/dev
Browse files Browse the repository at this point in the history
Timeout for contract deploy tx callback
  • Loading branch information
vbaranov committed Oct 2, 2017
2 parents adf1932 + bddac34 commit 9157418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/blockchainHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function deployContract(i, web3, abi, bin, params, state, cb) {
if (receipt.blockNumber)
return cb(null, receipt.contractAddress);
} else {
checkTxMined(web3, contract.transactionHash, txMinedCallback);
setTimeout(checkTxMined(web3, contract.transactionHash, txMinedCallback), 1000);
}
})
}
Expand Down

0 comments on commit 9157418

Please sign in to comment.