Skip to content

Commit

Permalink
Update Wyre buy ETH URL (#7482)
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonmalchow authored and whymarrh committed Nov 22, 2019
1 parent bf57dd5 commit 015ba83
Show file tree
Hide file tree
Showing 2 changed files with 3 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://dash.sendwyre.com/sign-up`
return `https://pay.sendwyre.com/?dest=ethereum:${address}&destCurrency=ETH&accountId=AC-7AG3W4XH4N2`
case 'coinswitch':
return `https://metamask.coinswitch.co/?address=${address}&to=eth`
case 'coinbase':
Expand Down
4 changes: 2 additions & 2 deletions test/unit/app/buy-eth-url.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ describe('buy-eth-url', function () {
network: '42',
}

it('returns coinbase url with amount and address for network 1', function () {
it('returns wyre url with address for network 1', function () {
const wyreUrl = getBuyEthUrl(mainnet)

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

})

Expand Down

0 comments on commit 015ba83

Please sign in to comment.