Skip to content

Commit

Permalink
forgot something
Browse files Browse the repository at this point in the history
  • Loading branch information
rh0delta committed Aug 28, 2024
1 parent 3aa419b commit 9cc1c67
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/account/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ export async function entropyManageAccounts (entropy: Entropy, endpoint: string,
switch (interactionChoice) {
case 'create-import': {
let { seed, name, path, importKey } = await inquirer.prompt(newAccountQuestions)
if (importKey && secret.includes('#debug')) {
if (importKey && seed.includes('#debug')) {
// isDebugMode = true
seed = secret.split('#debug')[0]
} else {
seed = importKey ? secret : randomAsHex(32)
seed = seed.split('#debug')[0]
}

const newAccount = await AccountService.create({ seed, name, path })
}
case 'list-account': {

Expand Down

0 comments on commit 9cc1c67

Please sign in to comment.