Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Oct 28, 2024
1 parent ad3a047 commit f5452ca
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/wasm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit f5452ca

Please sign in to comment.