Skip to content

Commit

Permalink
Revert "fix(MockPrivateKeyStore): Honour failOnFetch when retrievin…
Browse files Browse the repository at this point in the history
…g identity keys"

This reverts commit 40a0ce6.
  • Loading branch information
gnarea committed Jun 16, 2022
1 parent 40a0ce6 commit e24a45f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/keyStores/testMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export class MockPrivateKeyStore extends PrivateKeyStore {
}

public async retrieveIdentityKey(privateAddress: string): Promise<CryptoKey | null> {
if (this.failOnFetch) {
throw new Error('Denied');
}
return this.identityKeys[privateAddress] ?? null;
}

Expand Down

0 comments on commit e24a45f

Please sign in to comment.