mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-10 09:33:07 +00:00
fix import
This commit is contained in:
parent
e146f4512d
commit
343b091390
@ -3,7 +3,7 @@ import type {
|
||||
IMessage,
|
||||
IRateLimitProof,
|
||||
} from "@waku/interfaces";
|
||||
import utils from "@waku/utils/bytes";
|
||||
import * as utils from "@waku/utils/bytes";
|
||||
|
||||
import { epochBytesToInt } from "./epoch.js";
|
||||
import { RLNInstance } from "./rln.js";
|
||||
|
||||
@ -227,7 +227,7 @@ export class RLNInstance {
|
||||
}
|
||||
|
||||
verifyWithRoots(
|
||||
proof: RateLimitProof | Uint8Array,
|
||||
proof: IRateLimitProof | Uint8Array,
|
||||
msg: Uint8Array
|
||||
): boolean {
|
||||
let pBytes: Uint8Array;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user