mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 21:53:08 +00:00
fix: correct import
This commit is contained in:
parent
b1dbf16b35
commit
b83427ccfb
@ -1,5 +1,5 @@
|
||||
import { Encoder, Message, ProtoMessage } from "js-waku/lib/interfaces";
|
||||
import * as proto from "js-waku/src/proto/message";
|
||||
import { proto_message } from "js-waku";
|
||||
|
||||
import { RLNInstance } from "./rln.js";
|
||||
|
||||
@ -19,7 +19,7 @@ export class RLNEncoder implements Encoder {
|
||||
const protoMessage = await this.encodeProto(message);
|
||||
if (!protoMessage) return;
|
||||
|
||||
return proto.WakuMessage.encode(protoMessage);
|
||||
return proto_message.WakuMessage.encode(protoMessage);
|
||||
}
|
||||
|
||||
toRLNSignal(msg: Message): Uint8Array {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user