Open
Description
Describe the bug
Solana account might be created twice.
It could be related to a race-condition given that we SHOULD NOT be able to create an account with the same addresses.
Some random thoughts about this bug:
I really wonder if we have duplicated accounts here :thinking_face: we normally check for duplicated address when adding those new accounts to the Snap keyring:
(unless both of those checks happens right after the other before we actually "add" the account to our map... that's very unlikely, but could be possible yes...)
Expected behavior
Creating a Solana account, should only create 1 account.
Screenshots/Recordings
No response
Steps to reproduce
Caution
Happens a bit randomly, needs to be investigated.
- Onboard
- Create Solana account until it creates 2 accounts at the same time with the same addresses
Error messages or log output
Detection stage
In beta
Version
7.45.0
Build type
None
Device
N/A
Operating system
Other (please elaborate in the "Additional Context" section)
Additional context
N/A
Severity
No response