Skip to content

Commit

Permalink
default to 12 word seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Nov 19, 2023
1 parent f0438bd commit 5652033
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/components/wallet/BuildWallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<label>{{ translate('createWalletModal.lblWalletName') }}</label>
<input type="text" :placeholder="translate('wallet')" v-model="walletName" />
</div>
<div class="control" v-if="createType === 'create' && changeSeedType">
<div class="control" v-if="createType === 'create'">
<label>{{ translate('createWalletModal.lblSeedType') }}</label>
<select v-model="seedType">
<option value="sia">{{ translate('createWalletModal.siaSeed') }}</option>
<option value="walrus">{{ translate('createWalletModal.walrusSeed') }}</option>
<option value="walrus">BIP-39 Recovery Phrase</option>
<option value="sia">Sia Recovery Phrase (Deprecated)</option>
</select>
</div>
<template v-if="changeServerType">
Expand Down Expand Up @@ -61,7 +61,7 @@ export default {
createType: String
},
computed: {
...mapState(['changeSeedType', 'changeServerType']),
...mapState(['changeServerType']),
walletType() {
switch (this.createType) {
case 'ledger':
Expand Down Expand Up @@ -96,7 +96,7 @@ export default {
walletName: '',
recoverySeed: '',
currencyType: 'sc',
seedType: 'sia',
seedType: 'walrus',
serverType: 'siacentral',
serverURL: null
};
Expand Down
7 changes: 0 additions & 7 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@
</div>
<template v-if="showAdvanced">
<h2>Advanced</h2>
<div class="control-grouping">
<p class="text-warning">{{ translate('settings.pChangeSeedType') }}</p>
<div class="control">
<input type="checkbox" id="chk-change-seed-type" v-model="newChangeSeedType" @change="setChangeSeedType(newChangeSeedType)" />
<label for="chk-change-seed-type">{{ translate('settings.chkWalrusSeeds') }}</label>
</div>
</div>
<div class="control-grouping">
<p class="text-warning">{{ translate('settings.pChangeServerType') }}</p>
<div class="control">
Expand Down

0 comments on commit 5652033

Please sign in to comment.