chore: linting
This commit is contained in:
parent
1a466bbd3c
commit
7a2cc1646d
1 changed files with 0 additions and 1 deletions
|
@ -34,7 +34,6 @@ const prove = async (config: PoWConfig): Promise<number> => {
|
||||||
if (WasmSupported) {
|
if (WasmSupported) {
|
||||||
const wasm = await require("@mcaptcha/pow-wasm");
|
const wasm = await require("@mcaptcha/pow-wasm");
|
||||||
const t0 = performance.now();
|
const t0 = performance.now();
|
||||||
console.log(JSON.stringify(wasm))
|
|
||||||
wasm.gen_pow(config.salt, config.string, config.difficulty_factor);
|
wasm.gen_pow(config.salt, config.string, config.difficulty_factor);
|
||||||
const t1 = performance.now();
|
const t1 = performance.now();
|
||||||
duration = t1 - t0;
|
duration = t1 - t0;
|
||||||
|
|
Loading…
Reference in a new issue