Skip to content

Commit

Permalink
fix: [lw-12162] preserve migrated accounts names
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore committed Feb 6, 2025
1 parent 9b90c2a commit df16260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const freshInstall: FreshInstall = async ({
},
accounts: accounts.map((account) => ({
accountIndex: account.index,
metadata: { name: accountName(account) },
metadata: { name: account.name ?? accountName(account) },
extendedAccountPublicKey: Wallet.Crypto.Bip32PublicKeyHex(account.extendedAccountPublicKey)
})),
type: Extension.WalletType.InMemory
Expand Down

0 comments on commit df16260

Please sign in to comment.