Commit e741314c authored by dev0tion's avatar dev0tion

Remove network from create process

parent b3ae12f7
......@@ -28,14 +28,6 @@
<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>
<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>
</div>
<!-- /row-->
......
......@@ -108,7 +108,6 @@ export class CreateComponent implements OnInit {
this.createWalletForm.get("walletName").value,
this.mnemonic,
this.createWalletForm.get("walletPassword").value,
this.createWalletForm.get("selectNetwork").value
);
this.createWallets(this.newWallet);
}
......
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.mnemonic = mnemonic;
this.password = password;
this.network = network;
this.folderPath = folderPath;
}
name: string;
mnemonic: string;
password: string;
network: 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