1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Updating address error (#11389)

This commit is contained in:
ryanml 2021-06-28 15:38:20 -07:00
parent b1f469d1e2
commit a1e141fbe1

View File

@ -285,7 +285,7 @@ export default class PreferencesController {
*/
syncAddresses(addresses) {
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();