Skip to content

Commit

Permalink
Revert "Update Wyre ETH purchase url" (#7631)
Browse files Browse the repository at this point in the history
* Revert "Update Wyre buy ETH URL (#7482)"

This reverts commit 015ba83.

* Change test description from coinbase to wyre
  • Loading branch information
tmashuang authored Dec 4, 2019
1 parent 31a4788 commit bc67d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/lib/buy-eth-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function getBuyEthUrl ({ network, amount, address, service }) {

switch (service) {
case 'wyre':
return `https://pay.sendwyre.com/?dest=ethereum:${address}&destCurrency=ETH&accountId=AC-7AG3W4XH4N2`
return `https://dash.sendwyre.com/sign-up`
case 'coinswitch':
return `https://metamask.coinswitch.co/?address=${address}&to=eth`
case 'coinbase':
Expand Down
3 changes: 1 addition & 2 deletions test/unit/app/buy-eth-url.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('buy-eth-url', function () {
it('returns wyre url with address for network 1', function () {
const wyreUrl = getBuyEthUrl(mainnet)

assert.equal(wyreUrl, 'https://pay.sendwyre.com/?dest=ethereum:0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc&destCurrency=ETH&accountId=AC-7AG3W4XH4N2')
assert.equal(wyreUrl, 'https://dash.sendwyre.com/sign-up')

})

Expand All @@ -40,4 +40,3 @@ describe('buy-eth-url', function () {
})

})

0 comments on commit bc67d1e

Please sign in to comment.