From f5452ca50c6820f5cb8b492e174e4d9f3422c494 Mon Sep 17 00:00:00 2001 From: Anton Lykhoyda Date: Mon, 28 Oct 2024 17:00:41 +0100 Subject: [PATCH] cleanup --- packages/wasm/src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/wasm/src/index.ts b/packages/wasm/src/index.ts index 6ea79c5..cf75918 100644 --- a/packages/wasm/src/index.ts +++ b/packages/wasm/src/index.ts @@ -36,9 +36,6 @@ export async function generateViewingKey( if (!(await wasmExportsPromise)) { throw new Error('WASM module not initialized'); } - - // Convert Uint8Array to a format compatible with Rust (handled by wasm-bindgen) - // Assuming wasm-bindgen handles the conversion automatically const spendingKey = new UnifiedSpendingKey(network, seed, account); return spendingKey.to_unified_full_viewing_key(); }