Skip to content

Commit

Permalink
Fix URI
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Feb 17, 2019
1 parent 080d139 commit 8b0a2c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/views/onchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { yaml, qruri } from './util'
const labelType = { bech32: 'Bech32', 'p2sh-segwit': 'P2SH' }
, otherType = { bech32: 'p2sh-segwit', 'p2sh-segwit': 'bech32' }

export const deposit = ({ address, type }) => qruri(`bitcoin:${address}`).then(qr => ({ funds, obalance, unitf, conf: { expert } }) =>
export const deposit = ({ address, type }) => qruri(`groestlcoin:${address}`).then(qr => ({ funds, obalance, unitf, conf: { expert } }) =>
div('.onchain-deposit', [
div('.row', [
div('.col-sm-6.text-center', [
Expand All @@ -17,7 +17,7 @@ export const deposit = ({ address, type }) => qruri(`bitcoin:${address}`).then(q
])
])
, div('.my-4.text-center', [
a('.btn.btn-primary.btn-lg.mb-1', { attrs: { href: `bitcoin:${address}` } }, 'Fund with wallet')
a('.btn.btn-primary.btn-lg.mb-1', { attrs: { href: `groestlcoin:${address}` } }, 'Fund with wallet')
, ' '
, button('.btn.btn-secondary.btn-lg.mb-1', { dataset: { newaddrType: otherType[type] } }, `Switch to ${labelType[otherType[type]]}`)
])
Expand Down

0 comments on commit 8b0a2c5

Please sign in to comment.