mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Only display accounts with identities in send and permissions flows (#8568)
* send ether info: only select identities
This commit is contained in:
parent
af0d3e27a8
commit
6f0f106f7f
@ -199,8 +199,8 @@ export function accountsWithSendEtherInfoSelector (state) {
|
||||
const accounts = getMetaMaskAccounts(state)
|
||||
const { identities } = state.metamask
|
||||
|
||||
const accountsWithSendEtherInfo = Object.entries(accounts).map(([key, account]) => {
|
||||
return Object.assign({}, account, identities[key])
|
||||
const accountsWithSendEtherInfo = Object.entries(identities).map(([key, identity]) => {
|
||||
return Object.assign({}, accounts[key], identity)
|
||||
})
|
||||
|
||||
return accountsWithSendEtherInfo
|
||||
|
Loading…
Reference in New Issue
Block a user