Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 committed Nov 28, 2024
1 parent 0a19660 commit ea3b59b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/background/service/keyring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import {
passwordDecrypt,
passwordClearKey,
} from 'background/utils/password';
import { nanoid } from 'nanoid';

export const KEYRING_SDK_TYPES = {
SimpleKeyring,
Expand Down Expand Up @@ -117,7 +116,7 @@ export class KeyringService extends EventEmitter {
throw new Error('is booted');
}
this.password = password;
const encryptBooted = await passwordEncrypt({ data: nanoid(), password });
const encryptBooted = await passwordEncrypt({ data: 'true', password });
this.store.updateState({ booted: encryptBooted });
this.memStore.updateState({ isUnlocked: true });
}
Expand Down

0 comments on commit ea3b59b

Please sign in to comment.