fix import

This commit is contained in:
weboko 2023-04-13 23:29:39 +02:00
parent e146f4512d
commit 343b091390
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -227,7 +227,7 @@ export class RLNInstance {
}
verifyWithRoots(
proof: RateLimitProof | Uint8Array,
proof: IRateLimitProof | Uint8Array,
msg: Uint8Array
): boolean {
let pBytes: Uint8Array;