Skip to content

Commit

Permalink
Remove unused temporaryRsaPair from producer
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Mar 14, 2022
1 parent 4ce643b commit 2400efd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/auth/linking/producer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ type OnDone = (event: "done", listener: () => void) => void
type LinkingState = {
username: Maybe<string>
sessionKey: Maybe<CryptoKey>
temporaryRsaPair: Maybe<CryptoKeyPair>
step: Maybe<LinkingStep>
}

Expand All @@ -57,7 +56,6 @@ export const createProducer = async (options: { username: string }): Promise<Acc
const ls: LinkingState = {
username,
sessionKey: null,
temporaryRsaPair: null,
step: LinkingStep.Broadcast
}

Expand Down Expand Up @@ -130,7 +128,6 @@ export const createProducer = async (options: { username: string }): Promise<Acc

const resetLinkingState = () => {
ls.sessionKey = null
ls.temporaryRsaPair = null
ls.step = LinkingStep.Broadcast
}

Expand Down

0 comments on commit 2400efd

Please sign in to comment.