Merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop
This commit is contained in:
commit
2164fbb958
|
@ -129,11 +129,10 @@ var checkForContractAddress = function(contract, callback){
|
||||||
|
|
||||||
contract.address = receipt.contractAddress;
|
contract.address = receipt.contractAddress;
|
||||||
|
|
||||||
if(callback) {
|
if(callback)
|
||||||
callback(null, contract);
|
callback(null, contract);
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
} else if(callback) {
|
||||||
callback(new Error('The contract code couldn\'t be stored'));
|
callback(new Error('The contract code couldn\'t be stored'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue