mirror of
https://github.com/status-im/status-go.git
synced 2025-02-02 09:56:52 +00:00
db65d42912
There's only one scenario in which a `RevealedAccount` will have an empty `ChainIDs` list attached to it: When the community in question requires users to satisfy certain criteria to join, and the user's wallet does not own the necessary funds on any of the supported chains. If there are **no** permissions to join on the community, then we want to reveal all (selected) accounts with all supported chainIDs. This is necessary so that, once the community *does* become permissioned, it'll have address + chain information from all joined members. Closes: https://github.com/status-im/status-desktop/issues/11255