mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Updating address error (#11389)
This commit is contained in:
parent
352102438f
commit
3aae36754f
@ -299,7 +299,7 @@ export default class PreferencesController {
|
|||||||
*/
|
*/
|
||||||
syncAddresses(addresses) {
|
syncAddresses(addresses) {
|
||||||
if (!Array.isArray(addresses) || addresses.length === 0) {
|
if (!Array.isArray(addresses) || addresses.length === 0) {
|
||||||
throw new Error('Expected non-empty array of addresses.');
|
throw new Error('Expected non-empty array of addresses. Error #11201');
|
||||||
}
|
}
|
||||||
|
|
||||||
const { identities, lostIdentities } = this.store.getState();
|
const { identities, lostIdentities } = this.store.getState();
|
||||||
|
Loading…
Reference in New Issue
Block a user