can now display new style address and bitpay address

This commit is contained in:
Kadir Sekha 2018-01-08 16:16:12 +09:00
commit 14fecbf1ac
3 changed files with 32 additions and 3 deletions

View file

@ -17,7 +17,7 @@ bitcoinCashJsModule.provider('bitcoinCashJsService', function() {
return {
'legacy': result.toString(),
'bitpay': result.toString(BitpayFormat),
'cashaddr': result.toString(CashAddrFormat)
'cashaddr': result.toString(CashAddrFormat).replace('bitcoincash:', '')
};
}