remove console timer

This commit is contained in:
Sasha 2024-01-23 23:02:21 +01:00
parent 2ef4252411
commit cadb0e9543
No known key found for this signature in database

View File

@ -44,15 +44,12 @@ export class RLNEncoder implements IEncoder {
private async generateProof(message: IMessage): Promise<IRateLimitProof> { private async generateProof(message: IMessage): Promise<IRateLimitProof> {
const signal = toRLNSignal(this.contentTopic, message); const signal = toRLNSignal(this.contentTopic, message);
console.time("proof_gen_timer");
const proof = await this.rlnInstance.generateRLNProof( const proof = await this.rlnInstance.generateRLNProof(
signal, signal,
this.index, this.index,
message.timestamp, message.timestamp,
this.idSecretHash this.idSecretHash
); );
console.timeEnd("proof_gen_timer");
return proof; return proof;
} }