-
Notifications
You must be signed in to change notification settings - Fork 53
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 spokepool.ts #1877
base: master
Are you sure you want to change the base?
Update spokepool.ts #1877
Conversation
@sitch Good observation. It looks like this would also revert to |
@pxrl I think generally what you want is a more robust arg parser function for number than |
Here's the simplest change I can produce without reverting to a third-party package. We might do that at some point, but it's not really a priority for now. I realised also that there's a second issue in the script - if nb. This still isn't a great solution because it permits someone to specify
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Null coalesce (??) doesn't work as one would expect with
NaN
. So this fixes an issue when not supplying the--exclusivityDeadline
directlyExample