switch between btc and bch service url when switching coins
This commit is contained in:
parent
092a4fd71a
commit
93bb167766
4 changed files with 18 additions and 4 deletions
|
|
@ -74,6 +74,10 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.coinChanged = function() {
|
||||
$scope.formData.bwsurl = $scope.formData.coin == 'btc' ? defaults.bws.url : defaults.bwscash.url;
|
||||
}
|
||||
|
||||
$scope.processWalletInfo = function(code) {
|
||||
if (!code) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue