MetaMask / metamask-android-sdk

MetaMask SDK for Android
Other
41 stars 13 forks source link

fix: Selected address on connect #116

Closed elefantel closed 3 months ago

elefantel commented 3 months ago

This PR fixes the selected address whereby the wallet has more than one account and the selected address is not the first one eth_requestAccounts always returns the accounts in the same order rather than the selected one first. So when the selected address was not the first address the SDK had the incorrect account as selected.