temporarily hardcoded bws-v2 for tarascash wallets

This commit is contained in:
Kadir Sekha 2017-10-25 13:30:21 +09:00
commit 2f69da9125

View file

@ -75,7 +75,8 @@ angular.module('copayApp.services')
// Convert tarascash style bch wallet to copay style
function convertToNewCashWallet(wallet) {
var baseUrl = bwcService.getClient(null, null).baseUrl;
//var baseUrl = bwcService.getClient(null, null).baseUrl;
var baseUrl = 'https://bws-v2.bitcoin.com/bws/api';
wallet.baseUrl = baseUrl;
wallet.credentials.coin = 'bch';
wallet.credentials.network = 'livenet';