Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Feb 28, 2024
1 parent 24cd084 commit ed82887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ class ThresholdKey implements ITKey {
selectedServers?: number[];
authSignatures: string[];
},
syncMetdata: boolean = true
updateMetadata: boolean = true
): Promise<void> {
if (!this.privKey) throw CoreError.privateKeyUnavailable();

Expand Down Expand Up @@ -942,7 +942,7 @@ class ThresholdKey implements ITKey {
encryptedSalt: encryptedAccountSalt,
});
this._accountSalt = accountSalt;
if (syncMetdata) await this._syncShareMetadata();
if (updateMetadata) await this._syncShareMetadata();
} catch (error) {
this.tssTag = oldTag;
throw error;
Expand Down

0 comments on commit ed82887

Please sign in to comment.