File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
apps/extension/src/App/Accounts Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,20 @@ export const ParentAccounts = (): JSX.Element => {
5353 }
5454 } ) ;
5555
56+ // We check whether a Ledger parent has an associated shielded account
57+ allAccounts
58+ . filter (
59+ ( account ) => ! account . parentId && account . type === AccountType . Ledger
60+ )
61+ . forEach ( ( { id } ) => {
62+ const shieldedAccount = allAccounts . find (
63+ ( { parentId } ) => parentId === id
64+ ) ;
65+ if ( ! shieldedAccount ) {
66+ allParentAccounts [ id ] [ "outdated" ] = true ;
67+ }
68+ } ) ;
69+
5670 const accounts = Object . values ( allParentAccounts ) ;
5771
5872 useEffect ( ( ) => {
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ export const UpdateRequired = (): JSX.Element => {
7171 </ li >
7272 < li > Delete the marked account from
the keychain</ li >
7373 < li >
74- Re-Import the account using your seed phrase / private key
74+ Re-Import the account using your seed phrase / private key /
75+ Ledger HW wallet
7576 </ li >
7677 </ ol >
7778 </ Stack >
You can’t perform that action at this time.
0 commit comments