Skip to content

Commit

Permalink
refactor(keychain): drop unused getPrivateHDKey "exportPrivate" param (
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskichel committed Sep 13, 2024
1 parent bc3f28f commit 6762be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/keychain/module/crypto/sodium.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const create = ({ getPrivateHDKey }) => {
// Sodium encryptor caches the private key and the return value holds
// not refences to keychain internals, allowing the seed to be safely
// garbage collected, clearing it from memory.
const getSodiumKeysFromIdentifier = async ({ seedId, keyId, exportPrivate }) => {
const { privateKey: sodiumSeed } = getPrivateHDKey({ seedId, keyId, exportPrivate })
const getSodiumKeysFromIdentifier = async ({ seedId, keyId }) => {
const { privateKey: sodiumSeed } = getPrivateHDKey({ seedId, keyId })
return sodium.getSodiumKeysFromSeed(sodiumSeed)
}

Expand Down

0 comments on commit 6762be9

Please sign in to comment.