diff --git a/src/js/controllers/create.js b/src/js/controllers/create.js index d47dba87f..da8c66f0d 100644 --- a/src/js/controllers/create.js +++ b/src/js/controllers/create.js @@ -176,6 +176,11 @@ angular.module('copayApp.controllers').controller('createController', } if ($scope.formData.seedSource.id == walletService.externalSource.ledger.id || $scope.formData.seedSource.id == walletService.externalSource.trezor.id || $scope.formData.seedSource.id == walletService.externalSource.intelTEE.id) { + if ($scope.formData.coin == 'bch') { + popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Hardware wallet are yet not supported with Bitcoin Cash')); + return; + } + var account = $scope.formData.account; if (!account || account < 1) { popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Invalid account number')); diff --git a/src/js/controllers/join.js b/src/js/controllers/join.js index 218d61725..e08f30483 100644 --- a/src/js/controllers/join.js +++ b/src/js/controllers/join.js @@ -141,6 +141,11 @@ angular.module('copayApp.controllers').controller('joinController', } if ($scope.formData.seedSource.id == walletService.externalSource.ledger.id || $scope.formData.seedSource.id == walletService.externalSource.trezor.id || $scope.formData.seedSource.id == walletService.externalSource.intelTEE.id) { + if ($scope.formData.coin == 'bch') { + popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Hardware wallet are yet not supported with Bitcoin Cash')); + return; + } + var account = $scope.formData.account; if (!account || account < 1) { popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Invalid account number'));