Add to changelog.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 1142d71048
commit 88ed1f191f
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
  1. 1
      CHANGELOG.md
  2. 2
      app/scripts/metamask-controller.js
  3. 2
      ui/app/components/buy-button-subview.js

@ -1,6 +1,7 @@
# Changelog # Changelog
## Current Master ## Current Master
- Ropsten networks now properly point to the faucet when attempting to buy ether.
## 2.13.9 2016-11-21 ## 2.13.9 2016-11-21

@ -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') { if ((network === '2') || (network === '3')) {
url = 'https://faucet.metamask.io/' url = 'https://faucet.metamask.io/'
} }

@ -115,7 +115,7 @@ BuyButtonSubview.prototype.formVersionSubview = function () {
}, },
}, '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:'), h('h3.text-transform-uppercase', 'or:'),
this.props.network === '2' ? h('button.text-transform-uppercase', { (this.props.network === '2' || 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',

Loading…
Cancel
Save