Skip to content

[network-controller] Allow switching active chain without waiting for lookup #4930

Open
@Gudahtt

Description

@Gudahtt

When setActiveChain is called, the function does not resolve until the network lookup has completed. In some cases we just want tomorrow know when the NetworkController state was updated, and waiting for lookup is not desired.

We should allow the caller to not wait on lookup when switching the active chain (maybe by splitting this into two methods, or adding an option to control whether we wait).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions