Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1995 committed Sep 8, 2023
1 parent 656f1a5 commit e9f4c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/controller/tkey.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import eccrypto, { decrypt as ecDecrypt, encrypt as ecEncrypt } from "@toruslabs/eccrypto";
import { decrypt as ecDecrypt, encrypt as ecEncrypt, generatePrivate } from "@toruslabs/eccrypto";
import assert from "assert";
import BN from "bn.js";
import { ec as EC } from "elliptic";
Expand All @@ -19,7 +19,7 @@ describe("tkey utils", () => {
const privKey = toPrivKeyECC(keyPair.getPrivate());
const msg = Buffer.from(JSON.stringify(openloginFaker[0]), "utf-8");
const storageLayer = new TorusStorageLayer({ hostUrl: "https://solana-openlogin-state.tor.us" });
const ecc_privateKey = eccrypto.generatePrivate();
const ecc_privateKey = generatePrivate();
// const ecc_publicKey = eccrypto.getPublic(ecc_privateKey);
beforeEach(async () => {
nockRequest();
Expand Down

0 comments on commit e9f4c24

Please sign in to comment.