From e9f07dbbf41ab2d45694a9c893744c3bfb71173b Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Fri, 4 Aug 2023 09:24:18 +0200
Subject: [PATCH] fix after rebase
---
test/utils.ts | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/test/utils.ts b/test/utils.ts
index 0171eafb1..76749cf58 100644
--- a/test/utils.ts
+++ b/test/utils.ts
@@ -563,13 +563,3 @@ export const mockGetParticipantPublicKey = (pk = fakeFerveoPublicKey()) => {
export const fakeFerveoPublicKey = (): FerveoPublicKey => {
return Keypair.random().publicKey;
};
-
-export const mockGetParticipantPublicKey = (pk = fakeFerveoPublicKey()) => {
- return jest
- .spyOn(DkgClient, 'getParticipantPublicKey')
- .mockImplementation((_address) => pk);
-};
-
-export const fakeFerveoPublicKey = (): FerveoPublicKey => {
- return Keypair.random().publicKey;
-};