Merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop

This commit is contained in:
Marek Kotewicz 2015-07-07 11:29:51 +02:00
commit 2164fbb958
1 changed files with 2 additions and 3 deletions

View File

@ -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'));
} }