diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index 692a3013d..09f969053 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -5,6 +5,8 @@ module.exports = function(deployer) { deployer.deploy(Bounty); deployer.deploy(Ownable); deployer.deploy(LimitFunds); - deployer.deploy(SecureTargetMock); - deployer.deploy(InsecureTargetMock); + if(deployer.network == 'test'){ + deployer.deploy(SecureTargetMock); + deployer.deploy(InsecureTargetMock); + }; };