chore: fix format

This commit is contained in:
fryorcraken.eth 2022-09-27 13:54:44 +10:00
parent bcbb770dd2
commit c1fb1f52ca
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -1,5 +1,5 @@
import debug from "debug";
import {proto_message, utils} from "js-waku";
import { proto_message, utils } from "js-waku";
import {
Decoder,
Encoder,
@ -76,6 +76,6 @@ export class RLNDecoder implements Decoder<Message> {
}
function toRLNSignal(msg: Message): Uint8Array {
const contentTopicBytes = utils.utf8ToBytes(msg.contentTopic ?? "")
const contentTopicBytes = utils.utf8ToBytes(msg.contentTopic ?? "");
return new Uint8Array([...(msg.payload ?? []), ...contentTopicBytes]);
}