diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-06-13 05:22:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 05:22:07 +0800 |
commit | 3b3c96ef34766dc4f3e672a8481efb50ae8b25b1 (patch) | |
tree | 9040c5a07dad2563f6bf1bc3ad47ff23f3f5487a /app | |
parent | 670fbf6da0d528f2e9bf91468726c891349c07dd (diff) | |
parent | c0a023ffdb6e04646e45b2a3c96241f5fb006326 (diff) | |
download | tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar.gz tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar.bz2 tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar.lz tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar.xz tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.tar.zst tangerine-wallet-browser-3b3c96ef34766dc4f3e672a8481efb50ae8b25b1.zip |
Merge pull request #1208 from MetaMask/i#1203MainNetSwitch
Change default to mainnet
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/first-time-state.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/scripts/first-time-state.js b/app/scripts/first-time-state.js index dc7788311..5e8577100 100644 --- a/app/scripts/first-time-state.js +++ b/app/scripts/first-time-state.js @@ -1,12 +1,15 @@ +// 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: {}, NetworkController: { provider: { - type: 'rinkeby', + type: (METAMASK_DEBUG || env === 'test') ? 'rinkeby' : 'mainnet', }, }, } |