diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index 51e052891..504e92353 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -6,6 +6,8 @@ module.exports = function(deployer) { deployer.deploy(CrowdsaleTokenBounty); deployer.deploy(Ownable); deployer.deploy(LimitFunds); - deployer.deploy(SecureTargetMock); - deployer.deploy(InsecureTargetMock); + if(deployer.network == 'test'){ + deployer.deploy(SecureTargetMock); + deployer.deploy(InsecureTargetMock); + }; };