Skip to content

Commit

Permalink
Add wallet creation date to log output
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Oct 10, 2024
1 parent b819c49 commit d59709d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- added: Include wallet creation date in wallet data in log output
- changed: Enable Ethereum staking
- changed: Navigate to wallet list after restoring wallets
- fixed: Use account default fiat for transaction fee display in `SweepPrivateKeyCalculateFeeScene`
Expand Down
2 changes: 2 additions & 0 deletions src/actions/LogActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ interface LoggedInUser {
}

interface WalletData {
created?: string
currencyCode?: string
customTokens?: EdgeTokenMap
imported?: boolean
Expand Down Expand Up @@ -180,6 +181,7 @@ export function getLogOutput(): ThunkAction<Promise<MultiLogOutput>> {
if (wallet && logOutput.loggedInUser) {
const currencyCode = wallet.currencyInfo.currencyCode ?? ''
logOutput.loggedInUser.wallets.push({
created: wallet.created?.toISOString(),
currencyCode,
customTokens: wallet.currencyConfig.customTokens,
imported,
Expand Down

0 comments on commit d59709d

Please sign in to comment.