Swithch the default network to mainnet

This commit is contained in:
frankiebee 2017-03-13 21:14:19 -07:00
parent 2a68c89ba7
commit f6e551ef5f
1 changed files with 6 additions and 3 deletions

View File

@ -1,11 +1,14 @@
// test and development environment variables
const env = process.env.METAMASK_ENV
const METAMASK_DEBUG = 'GULP_METAMASK_DEBUG'
//
// The default state of MetaMask
//
module.exports = {
config: {
provider: {
type: 'testnet',
type: (METAMASK_DEBUG || env === 'test') ? 'testnet' : 'mainnet',
},
},
}