diff --git a/packages/app-accounts/src/Creator.tsx b/packages/app-accounts/src/Creator.tsx index cbceaf65ab..2c30a24cfe 100644 --- a/packages/app-accounts/src/Creator.tsx +++ b/packages/app-accounts/src/Creator.tsx @@ -45,7 +45,7 @@ type State = { showWarning: boolean }; -const DEFAULT_TYPE = 'ed25519'; +const DEFAULT_TYPE = 'sr25519'; function deriveValidate (derivePath: string, pairType: KeypairType): string | null { try { @@ -185,7 +185,10 @@ class Creator extends React.PureComponent { value={password} /> -
+
{t('Advanced creation options')}
@@ -198,7 +201,6 @@ class Creator extends React.PureComponent {
{ : rawValidate(seed); const isPassValid = keyring.isPassValid(password); - if (!deriveError && isSeedValid && (seed !== prevState.seed || derivePath !== prevState.derivePath)) { + if (!deriveError && isSeedValid && (seed !== prevState.seed || derivePath !== prevState.derivePath || pairType !== prevState.pairType)) { address = addressFromSeed(seed, derivePath, pairType); }