diff --git a/src/verify.ts b/src/verify.ts index 17e2a3e..ddc7a72 100644 --- a/src/verify.ts +++ b/src/verify.ts @@ -44,11 +44,11 @@ export async function getVerifiableStream( }); }; - await getNextBytes(); // @ts-ignore const wasmId = callExports("start"); getWasmProperty(wasmId, "set_root")(root); getWasmProperty(wasmId, "set_proof")(proof); + await getNextBytes(); return new ReadableStream({ async pull(controller) {