public void SetCoinAccountData(uint aCurrencyId) { if (string.IsNullOrEmpty(FSeed) && !FAddresses.ContainsKey(aCurrencyId)) { List <CurrencyAccount> lCurrenciesAccounts = JsonConvert.DeserializeObject <List <CurrencyAccount> >(FWalletPandoraServer.FServerAccess.GetMonitoredAcccounts(aCurrencyId, 0)); if (!lCurrenciesAccounts.Any()) { throw new ClientExceptions.AddressSynchException("Found incoherence between client and server. Try Restoring Wallet"); } FWalletPandoraServer.AddMonitoredAccount(aCurrencyId, lCurrenciesAccounts[0].Address); while (!FAddresses.TryAdd(aCurrencyId, lCurrenciesAccounts.Select(x => x.Address).ToList())) { ; } return; } IClientCurrencyAdvocacy lAdvocacy = GetAdvocacy(aCurrencyId); TrySetAccountAddresses(aCurrencyId, lAdvocacy); }