Skip to content

Commit

Permalink
fix(P2PClient): Disabled PoE for now
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesGuesnon committed Nov 21, 2023
1 parent c2211cd commit 7120b08
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions context/P2PClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7120b08

Please sign in to comment.