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

Update NetworkParam constructor #111

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

PiotrNap
Copy link
Contributor

@PiotrNap PiotrNap commented Nov 5, 2023

Added a check to constructor as I found myself passing a non parsed string of network params not even realizing it and Typescript hadn't throw any error because raw is of type 'any'

Added a check to constructor as I found myself passing a non parsed string of network params not even realizing it and Typescript hadn't throw any error because raw is of type 'any'
@christianschmitz
Copy link
Contributor

Nice one! I'll make this part of the next release

@PiotrNap
Copy link
Contributor Author

PiotrNap commented Nov 8, 2023

Sweet 🚀

@christianschmitz christianschmitz merged commit 62c0567 into HeliosLang:main Nov 8, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants