Skip to content

Commit

Permalink
refactor: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed Jan 25, 2022
1 parent 2cf472e commit 626a9ea
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/frontend/src/utils/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,15 +443,6 @@ class Wallet {
await this.keyStore.setKey(this.connection.networkId, implicitAccountId, recoveryKeyPair);
}

async finishSetupImplicitAccount({
implicitAccountId,
recoveryMethod
}) {
const publicKey = new PublicKey({ keyType: KeyType.ED25519, data: Buffer.from(implicitAccountId, 'hex') });
await this.saveAndMakeAccountActive(implicitAccountId);
await this.addLocalKeyAndFinishSetup(implicitAccountId, recoveryMethod, publicKey);
}

async saveAccount(accountId, keyPair) {
this.getAccountsLocalStorage();
await this.setKey(accountId, keyPair);
Expand Down

0 comments on commit 626a9ea

Please sign in to comment.