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

Caplin: avoid runtime change NetworkId #13016

Open
AskAlexSharov opened this issue Dec 6, 2024 · 0 comments
Open

Caplin: avoid runtime change NetworkId #13016

AskAlexSharov opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
imp3 Low importance

Comments

@AskAlexSharov
Copy link
Collaborator

i see next things in code

config.NetworkId = clparams.CustomNetwork // Force custom network

it looks like hack (probably to force some next code behave as expected). but probably we can avoid it.
let's create config objects at start of app and then don't mutate them in runtime or objects constructors.

@VBulikov VBulikov added the imp3 Low importance label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp3 Low importance
Projects
None yet
Development

No branches or pull requests

3 participants