Skip to content

Commit

Permalink
fix: generatePrivate
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Feb 23, 2024
1 parent 11af4f2 commit 0d78a92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/default/test/RefreshAndAccountIndex.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ecCurve, getPubKeyPoint } from "@tkey-mpc/common-types";
// eslint-disable-next-line import/no-extraneous-dependencies
import { generatePrivate } from "@toruslabs/eccrypto";
import { fail, notEqual, rejects, strictEqual } from "assert";
import BN from "bn.js";
Expand All @@ -13,7 +14,7 @@ const metadataURL = getMetadataUrl();
export const refreshAndAccountIndex = (customSP, manualSync, accountIndexBackwardCompatible) => {
const mode = manualSync;

describe.only("RefreshAndAccountIndex", function () {
describe("RefreshAndAccountIndex", function () {
it("#should be able to refresh tss shares", async function () {
const sp = customSP;
if (!sp.useTSS) this.skip();
Expand Down
3 changes: 2 additions & 1 deletion packages/default/test/helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { ecCurve, generatePrivate, getPubKeyPoint, Point } from "@tkey-mpc/common-types";
import { ecCurve, getPubKeyPoint, Point } from "@tkey-mpc/common-types";
import ServiceProviderBase from "@tkey-mpc/service-provider-base";
import ServiceProviderTorus from "@tkey-mpc/service-provider-torus";
import TorusStorageLayer, { MockStorageLayer } from "@tkey-mpc/storage-layer-torus";
import { generatePrivate } from "@toruslabs/eccrypto";
import { generatePolynomial, getLagrangeCoeffs, getShare, hexPoint, MockServer, postEndpoint } from "@toruslabs/rss-client";
// eslint-disable-next-line import/no-extraneous-dependencies
import Torus from "@toruslabs/torus.js";
Expand Down

0 comments on commit 0d78a92

Please sign in to comment.