Disable creation of BCH testnet wallet
This commit is contained in:
parent
649d5e6d2a
commit
75e0397e0d
3 changed files with 3 additions and 3 deletions
|
|
@ -138,7 +138,7 @@ angular.module('copayApp.controllers').controller('createController',
|
||||||
m: $scope.formData.requiredCopayers,
|
m: $scope.formData.requiredCopayers,
|
||||||
n: $scope.formData.totalCopayers,
|
n: $scope.formData.totalCopayers,
|
||||||
myName: $scope.formData.totalCopayers > 1 ? $scope.formData.myName : null,
|
myName: $scope.formData.totalCopayers > 1 ? $scope.formData.myName : null,
|
||||||
networkName: $scope.formData.testnetEnabled ? 'testnet' : 'livenet',
|
networkName: $scope.formData.testnetEnabled && $scope.formData.coin != 'bch' ? 'testnet' : 'livenet',
|
||||||
bwsurl: $scope.formData.bwsurl,
|
bwsurl: $scope.formData.bwsurl,
|
||||||
singleAddress: $scope.formData.singleAddressEnabled,
|
singleAddress: $scope.formData.singleAddressEnabled,
|
||||||
walletPrivKey: $scope.formData._walletPrivKey, // Only for testing
|
walletPrivKey: $scope.formData._walletPrivKey, // Only for testing
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@
|
||||||
ng-model="formData.derivationPath">
|
ng-model="formData.derivationPath">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ion-toggle ng-show="formData.seedSource.supportsTestnet" ng-model="formData.testnetEnabled" toggle-class="toggle-positive">
|
<ion-toggle ng-show="formData.seedSource.supportsTestnet && formData.coin == 'btc'" ng-model="formData.testnetEnabled" toggle-class="toggle-positive">
|
||||||
<span translate>Testnet</span>
|
<span translate>Testnet</span>
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@
|
||||||
ng-model="formData.derivationPath">
|
ng-model="formData.derivationPath">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ion-toggle ng-show="formData.seedSource.supportsTestnet" ng-model="formData.testnetEnabled" toggle-class="toggle-positive">
|
<ion-toggle ng-show="formData.seedSource.supportsTestnet && formData.coin == 'btc'" ng-model="formData.testnetEnabled" toggle-class="toggle-positive">
|
||||||
Testnet
|
Testnet
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue