Skip to content

Commit 81eae25

Browse files
fixed type
TICKET: WP-6122
1 parent a98d226 commit 81eae25

File tree

1 file changed

+2
-2
lines changed
  • modules/sdk-lib-mpc/src/tss/eddsa-dkls

1 file changed

+2
-2
lines changed

modules/sdk-lib-mpc/src/tss/eddsa-dkls/dkg.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class DKG {
3737
/** Optional seed for deterministic key generation */
3838
protected seed: Buffer | undefined;
3939
/** Encryption key pair for secure communication */
40-
protected keyPair: EncryptionKeyPair;
40+
protected keyPair: EncryptionKeyPair | null;
4141
/** Public key for the DKG session */
4242
protected sessionPublicKey: Uint8Array;
4343
/** Internal DKG session instance */
@@ -62,7 +62,7 @@ export class DKG {
6262
this.partyIdx = partyIdx;
6363
this.seed = seed;
6464
this.dklsWasm = dklsWasm ?? null;
65-
this.keyPair = null as any;
65+
this.keyPair = null;
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)