update localstorage version

tmp/erc20-autoload
Szymon Lesisz 4 years ago
parent c5b4ae1350
commit de6439e1af

@ -213,7 +213,8 @@ const loadJSON = (): AsyncAction => async (dispatch: Dispatch): Promise<void> =>
} }
}; };
const VERSION: string = '2'; // version 3 since trezor-connect@8 implementation
const VERSION: string = '3';
const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => { const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => {
// validate version // validate version

Loading…
Cancel
Save