We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3a047 commit f5452caCopy full SHA for f5452ca
packages/wasm/src/index.ts
@@ -36,9 +36,6 @@ export async function generateViewingKey(
36
if (!(await wasmExportsPromise)) {
37
throw new Error('WASM module not initialized');
38
}
39
-
40
- // Convert Uint8Array to a format compatible with Rust (handled by wasm-bindgen)
41
- // Assuming wasm-bindgen handles the conversion automatically
42
const spendingKey = new UnifiedSpendingKey(network, seed, account);
43
return spendingKey.to_unified_full_viewing_key();
44
0 commit comments