mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
deployed_contracts_count fix
This commit is contained in:
parent
8ea13b4da5
commit
8af4282ed7
@ -75,7 +75,8 @@ Deploy.prototype.deploy_contract_list = function(index, env, all_contracts, cb)
|
||||
|
||||
Deploy.prototype.deploy_contract_list_synchronously = function(env, all_contracts, cb) {
|
||||
|
||||
var _this = this;
|
||||
var _this = this
|
||||
,deployed_contracts_count = 0
|
||||
|
||||
all_contracts.forEach(function(className){
|
||||
_this.deploy_a_contract(env, className, function(){
|
||||
@ -83,8 +84,6 @@ Deploy.prototype.deploy_contract_list_synchronously = function(env, all_contract
|
||||
});
|
||||
})
|
||||
|
||||
var deployed_contracts_count = 0;
|
||||
|
||||
function mark_contract_as_deployed(){
|
||||
deployed_contracts_count ++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user