Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Aug 29, 2024
1 parent dbbb777 commit 378fffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/account/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ export async function entropyManageAccounts (endpoint: string, storedConfig: Ent
seed = seed.split('#debug')[0]
}
const newAccount = seed
? EntropyAccount.import({ seed, name, path })
: EntropyAccount.create({ name, path })
? await EntropyAccount.import({ seed, name, path })
: await EntropyAccount.create({ name, path })
accounts.push(newAccount)

// WIP HERE
return {
accounts,
selectedAccount: newAccount.address
Expand Down
1 change: 0 additions & 1 deletion tests/transfer.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import test from 'tape'
import { wasmGlobalsReady } from '@entropyxyz/sdk'
// WIP: I'm seeing problems importing this?
// @ts-ignore
import Keyring from '@entropyxyz/sdk/keys'
import {
Expand Down

0 comments on commit 378fffa

Please sign in to comment.