Skip to content

Commit ce50bb0

Browse files
committed
fix: fix keyring_createAccount idempotency
1 parent a3a63d4 commit ce50bb0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/snap/src/use-cases/AccountUseCases.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,6 @@ export class AccountUseCases {
166166
const account = await this.#repository.getByDerivationPath(derivationPath);
167167
if (account && account.network === network) {
168168
this.#logger.debug('Account already exists: %s,', account.id);
169-
await this.#snapClient.emitAccountCreatedEvent(
170-
account,
171-
correlationId,
172-
accountName,
173-
);
174169
return account;
175170
}
176171

0 commit comments

Comments
 (0)