We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a98d226 commit 81eae25Copy full SHA for 81eae25
modules/sdk-lib-mpc/src/tss/eddsa-dkls/dkg.ts
@@ -37,7 +37,7 @@ export class DKG {
37
/** Optional seed for deterministic key generation */
38
protected seed: Buffer | undefined;
39
/** Encryption key pair for secure communication */
40
- protected keyPair: EncryptionKeyPair;
+ protected keyPair: EncryptionKeyPair | null;
41
/** Public key for the DKG session */
42
protected sessionPublicKey: Uint8Array;
43
/** Internal DKG session instance */
@@ -62,7 +62,7 @@ export class DKG {
62
this.partyIdx = partyIdx;
63
this.seed = seed;
64
this.dklsWasm = dklsWasm ?? null;
65
- this.keyPair = null as any;
+ this.keyPair = null;
66
}
67
68
/**
0 commit comments