File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/keyring-controller/src Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -2168,10 +2168,7 @@ export class KeyringController extends BaseController<
2168
2168
* @param encryptionKey - The encryption key to use.
2169
2169
* @param encryptionSalt - The salt to use for the encryption key.
2170
2170
*/
2171
- async #useEncryptionKey(
2172
- encryptionKey : string ,
2173
- encryptionSalt : string ,
2174
- ) : Promise < void > {
2171
+ #useEncryptionKey( encryptionKey : string , encryptionSalt : string ) : void {
2175
2172
this . #assertControllerMutexIsLocked( ) ;
2176
2173
2177
2174
if (
@@ -2355,7 +2352,7 @@ export class KeyringController extends BaseController<
2355
2352
await this . #deriveEncryptionKey( credentials . password ) ;
2356
2353
} else {
2357
2354
const { exportedEncryptionKey } = credentials ;
2358
- await this . #useEncryptionKey(
2355
+ this . #useEncryptionKey(
2359
2356
exportedEncryptionKey ,
2360
2357
parsedEncryptedVault . salt ,
2361
2358
) ;
You can’t perform that action at this time.
0 commit comments