Skip to content

Commit 0629ea0

Browse files
committed
fix: remove unused keyInitialized variable in messageAuth
1 parent caba808 commit 0629ea0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib/utils/messageAuth.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export interface AuthenticatedMessage {
1010

1111
class MessageAuthenticator {
1212
private authKey: CryptoKey | null = null;
13-
private keyInitialized = false;
1413

1514
/**
1615
* Initialize the authenticator with a session key
@@ -29,7 +28,6 @@ class MessageAuthenticator {
2928
);
3029

3130
this.authKey = keyMaterial;
32-
this.keyInitialized = true;
3331
}
3432

3533
/**
@@ -38,7 +36,6 @@ class MessageAuthenticator {
3836
*/
3937
clear(): void {
4038
this.authKey = null;
41-
this.keyInitialized = false;
4239
}
4340

4441
/**

0 commit comments

Comments
 (0)