Support CashAddr format (#109)
* Don't convert BCH address * Update for CashAddr * Rename to Bitcoin Cash * fix typo
This commit is contained in:
parent
982c60c7f5
commit
edd54c16f5
4 changed files with 6 additions and 27 deletions
|
|
@ -52,7 +52,7 @@ const CRYPTO_CURRENCIES = [
|
|||
},
|
||||
{
|
||||
cryptoCode: 'BCH',
|
||||
display: 'BCH',
|
||||
display: 'Bitcoin Cash',
|
||||
code: 'bitcoincash',
|
||||
configFile: 'bitcoincash.conf',
|
||||
daemon: 'bitcoincashd',
|
||||
|
|
@ -80,7 +80,7 @@ function buildUrl (cryptoCode, address) {
|
|||
case 'ZEC': return `zcash:${address}`
|
||||
case 'LTC': return `litecoin:${address}`
|
||||
case 'DASH': return `dash:${address}`
|
||||
case 'BCH': return `bitcoincash:${address}`
|
||||
case 'BCH': return `${address}`
|
||||
default: throw new Error(`Unsupported crypto: ${cryptoCode}`)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue