Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding a new account #343

Open
Igor-san opened this issue May 23, 2021 · 2 comments
Open

Error adding a new account #343

Igor-san opened this issue May 23, 2021 · 2 comments

Comments

@Igor-san
Copy link
Contributor

When adding a new account (account 1), the http://localhost:port/Wallets page does not open. Error:

fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HM8U1G4C1B89", Request id "0HM8U1G4C1B89:00000003": An unhandled exception was thrown by the application.
System.ArgumentException: An item with the same key has already been added. Key: homeNew
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Blockcore.Features.Wallet.UI.Pages.Wallets.ReadWallets() in ...\src\Features\Blockcore.Features.Wallet\UI\Pages\Wallets.razor:line 253

walletBalances.Add(walletName, (accountBalance, account.Name));

@miladsoft
Copy link
Member

I checked this case and found no problem.

@dangershony
Copy link
Member

@Igor-san can you try to reproduce or provide steps to reproduce?
thank you @miladsoft for checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants