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.
1 parent e72a2e1 commit 634a7bfCopy full SHA for 634a7bf
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