From 7120b0851eee73c5338af3d0a9ac40509d988feb Mon Sep 17 00:00:00 2001 From: JulesGuesnon Date: Tue, 21 Nov 2023 15:43:15 +0900 Subject: [PATCH] fix(P2PClient): Disabled PoE for now --- context/P2PClient.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/context/P2PClient.ts b/context/P2PClient.ts index cd6c926d..7ac64f22 100644 --- a/context/P2PClient.ts +++ b/context/P2PClient.ts @@ -101,15 +101,15 @@ class P2PClient extends WalletClient { this.permissionMessage = message; this.events.emit(Event.PERMISSION_REQUEST, message); break; - case BeaconMessageType.ProofOfEventChallengeRequest: - this.proofOfEvent.message = message; - this.proofOfEvent.data = { - challenge_id: message.dAppChallengeId, - payload: message.payload, - }; - - this.events.emit(Event.PROOF_OF_EVENT_CHALLENGE_REQUEST, message); - break; + // case BeaconMessageType.ProofOfEventChallengeRequest: + // this.proofOfEvent.message = message; + // this.proofOfEvent.data = { + // challenge_id: message.dAppChallengeId, + // payload: message.payload, + // }; + // + // this.events.emit(Event.PROOF_OF_EVENT_CHALLENGE_REQUEST, message); + // break; case BeaconMessageType.ProofOfEventChallengeRecorded: break; case BeaconMessageType.SignPayloadRequest: