Remove forceNetwork
This commit is contained in:
parent
6efa6dbf96
commit
d85fcbfe07
4 changed files with 0 additions and 16 deletions
|
|
@ -67,9 +67,6 @@ function Wallet(opts) {
|
|||
preconditions.checkArgument(!_.isUndefined(opts[k]), 'missing required option for Wallet: ' + k);
|
||||
self[k] = opts[k];
|
||||
});
|
||||
preconditions.checkArgument(!copayConfig.forceNetwork || this.getNetworkName() === copayConfig.networkName,
|
||||
'Network forced to ' + copayConfig.networkName +
|
||||
' and tried to create a Wallet with network ' + this.getNetworkName());
|
||||
|
||||
this.id = opts.id || Wallet.getRandomId();
|
||||
this.secretNumber = opts.secretNumber || Wallet.getRandomNumber();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue