mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-06 23:53:07 +00:00
add content topic on the message
This commit is contained in:
parent
343b091390
commit
1f15217136
@ -39,6 +39,7 @@ export class RLNEncoder implements IEncoder {
|
||||
const protoMessage = await this.encoder.toProtoObj(message);
|
||||
if (!protoMessage) return;
|
||||
|
||||
protoMessage.contentTopic = this.encoder.contentTopic;
|
||||
protoMessage.rateLimitProof = await this.generateProof(message);
|
||||
log("Proof generated", protoMessage.rateLimitProof);
|
||||
return protoMessage;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user