Skip to content

Commit

Permalink
remove code from pr
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker committed May 6, 2024
1 parent be80104 commit 8e43959
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions shared/modules/Storage/ExtensionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ export class ExtensionStore extends BaseStorage {
'MetaMask - metadata must be set on instance of ExtensionStore before calling "set"',
);
}
if (
this.stateCorruptionDetected &&
window.localStorage.getItem('USER_OPTED_IN_TO_RESTORE') !== 'true'
) {
log.info(
'State Corruption was detected and user has not opted into recovery so skipping state update',
);
return;
}
try {
// we format the data for storage as an object with the "data" key for the controller state object
// and the "meta" key for a metadata object containing a version number that tracks how the data shape
Expand Down

0 comments on commit 8e43959

Please sign in to comment.