1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Ropsten has sole access to the faucet.

This commit is contained in:
Kevin Serrano 2016-11-22 10:13:57 -08:00
parent 88ed1f191f
commit 8d2afccdc0
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
2 changed files with 4 additions and 4 deletions

View File

@ -364,7 +364,7 @@ module.exports = class MetamaskController {
var network = this.idStore._currentState.network var network = this.idStore._currentState.network
var url = `https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${amount}&address=${address}&crypto_currency=ETH` var url = `https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${amount}&address=${address}&crypto_currency=ETH`
if ((network === '2') || (network === '3')) { if (network === '3') {
url = 'https://faucet.metamask.io/' url = 'https://faucet.metamask.io/'
} }

View File

@ -113,9 +113,9 @@ BuyButtonSubview.prototype.formVersionSubview = function () {
style: { style: {
width: '225px', width: '225px',
}, },
}, 'In order to access this feature please switch to the Main Network'), }, 'In order to access this feature, please switch to the Main Network'),
h('h3.text-transform-uppercase', 'or:'), (this.props.network === '3') ? h('h3.text-transform-uppercase', 'or:') : null,
(this.props.network === '2' || this.props.network === '3') ? h('button.text-transform-uppercase', { (this.props.network === '3') ? h('button.text-transform-uppercase', {
onClick: () => this.props.dispatch(actions.buyEth()), onClick: () => this.props.dispatch(actions.buyEth()),
style: { style: {
marginTop: '15px', marginTop: '15px',