use url from config service for tarascash conversion
This commit is contained in:
parent
221f8bdd8e
commit
092a4fd71a
1 changed files with 2 additions and 3 deletions
|
|
@ -75,9 +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 = 'https://bws-v2.bitcoin.com/bws/api';
|
||||
wallet.baseUrl = baseUrl;
|
||||
var defaults = configService.getDefaults();
|
||||
wallet.baseUrl = defaults.bwscash.url;
|
||||
wallet.credentials.coin = 'bch';
|
||||
wallet.credentials.network = 'livenet';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue