diff --git a/features/keychain/api/index.js b/features/keychain/api/index.js index b1c92438..047f99cb 100644 --- a/features/keychain/api/index.js +++ b/features/keychain/api/index.js @@ -1,10 +1,7 @@ const createKeychainApi = ({ keychain }) => { - const exportKey = async ({ seedId, keyId, exportPrivate }) => - keychain.exportKey({ seedId, keyId, exportPrivate }) - return { keychain: { - exportKey, + exportKey: (...args) => keychain.exportKey(...args), }, } }