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
|
// Convert tarascash style bch wallet to copay style
|
||||||
function convertToNewCashWallet(wallet) {
|
function convertToNewCashWallet(wallet) {
|
||||||
//var baseUrl = bwcService.getClient(null, null).baseUrl;
|
var defaults = configService.getDefaults();
|
||||||
var baseUrl = 'https://bws-v2.bitcoin.com/bws/api';
|
wallet.baseUrl = defaults.bwscash.url;
|
||||||
wallet.baseUrl = baseUrl;
|
|
||||||
wallet.credentials.coin = 'bch';
|
wallet.credentials.coin = 'bch';
|
||||||
wallet.credentials.network = 'livenet';
|
wallet.credentials.network = 'livenet';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue