Skip to content
Permalink
Browse files

fix storage Date

  • Loading branch information...
SebastienGllmt committed Oct 10, 2019
1 parent a498ba5 commit 9b832d7e4906b0c4ddefa6f37dff3762835e2103
@@ -190,7 +190,7 @@ export async function storagev2Migation(
IsEncrypted: true,
PasswordLastUpdate: wallet.adaWallet.cwPassphraseLU == null
? null
: wallet.adaWallet.cwPassphraseLU,
: new Date(wallet.adaWallet.cwPassphraseLU),
},
hwWalletMetaInsert: wallet.adaWallet.cwHardwareInfo == null
? undefined
@@ -1,7 +1,6 @@
// @flow

import { dumpByVersion } from './index';
import { RustModule } from '../../cardanoCrypto/rustLoader';
import {
_getFromStorage,
_saveInStorage,
@@ -49,7 +48,7 @@ export type LegacyAdaWallet = {
cwId: string,
cwMeta: LegacyAdaWalletMetaParams,
cwType: LegacyAdaWalletType,
cwPassphraseLU?: Date,
cwPassphraseLU?: string,
cwHardwareInfo?: LegacyAdaWalletHardwareInfo,
};
export type LegacyAdaWalletMetaParams = {
@@ -176,7 +176,7 @@ Array [
"Hash": "a4f667dd7dd4e242fdc082540f24996a54227f6bbf0e77f735fc192fca4dbe8fcad69edddcd0ab1c5d1db62717c6b733fba5f19bcf4cda7a17770408342c4eb25373ab7e47678ab20ad428301a39324a0f789f10901ce41a128b466568f863b9b7baa989aaf09ec746615ea2400430dadec18ada015841107bd2133dc3b2af107ecea49c1b345bdb51ebda9fed6ebe6546efa20524d2dcc66c8a5605",
"IsEncrypted": true,
"KeyId": 1,
"PasswordLastUpdate": "2019-07-31T13:40:16+03:00",
"PasswordLastUpdate": 2019-07-31T10:40:16.000Z,
},
Object {
"Hash": "b2938f29eb965952b03baaf010b0f5fe4a2c116a1e255274c9ace24deb72450ce1c045821c42ed11b33db3124b1551793e76b8ad187efb92b28969b92bb95964",

0 comments on commit 9b832d7

Please sign in to comment.
You can’t perform that action at this time.