Commit e741314c authored by dev0tion's avatar dev0tion

Remove network from create process

parent b3ae12f7
...@@ -28,14 +28,6 @@ ...@@ -28,14 +28,6 @@
<div class="col-12"> <div class="col-12">
<div class="form-control-feedback">Your password will be required to recover your wallet in the future. Keep it safe.</div> <div class="form-control-feedback">Your password will be required to recover your wallet in the future. Keep it safe.</div>
</div> </div>
<div class="form-group col-12">
<label class="text-left" for="walletNetwork">Network</label>
<select class="form-control custom-select" name="network" formControlName="selectNetwork">
<!--<option value="main">Main</option>-->
<option value="test">Testnet</option>
<!--<option value="stratistest">StratisTest</option>-->
</select>
</div>
</form> </form>
</div> </div>
<!-- /row--> <!-- /row-->
......
...@@ -108,7 +108,6 @@ export class CreateComponent implements OnInit { ...@@ -108,7 +108,6 @@ export class CreateComponent implements OnInit {
this.createWalletForm.get("walletName").value, this.createWalletForm.get("walletName").value,
this.mnemonic, this.mnemonic,
this.createWalletForm.get("walletPassword").value, this.createWalletForm.get("walletPassword").value,
this.createWalletForm.get("selectNetwork").value
); );
this.createWallets(this.newWallet); this.createWallets(this.newWallet);
} }
......
export class WalletCreation { export class WalletCreation {
constructor(name: string, mnemonic: string, password: string, network:string, folderPath: string = null ) { constructor(name: string, mnemonic: string, password: string, folderPath: string = null ) {
this.name = name; this.name = name;
this.mnemonic = mnemonic; this.mnemonic = mnemonic;
this.password = password; this.password = password;
this.network = network;
this.folderPath = folderPath; this.folderPath = folderPath;
} }
name: string; name: string;
mnemonic: string; mnemonic: string;
password: string; password: string;
network: string;
folderPath?: string; folderPath?: string;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment