We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e72a2e1 + 634a7bf commit 2bd14e5Copy full SHA for 2bd14e5
lib/deploy.js
@@ -71,7 +71,7 @@ Deploy.prototype.deploy_contracts = function(env) {
71
72
console.log('trying to obtain ' + className + ' address...');
73
var receipt = null;
74
- while ((receipt = web3.eth.getTransactionReceipt(transactionHash)) === null) {
+ while ((receipt = web3.eth.getTransactionReceipt(transactionHash)) === null || receipt.contractAddress === null) {
75
sleep.sleep(1);
76
}
77
var contractAddress = receipt.contractAddress;
0 commit comments