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

Bitcoin v0.17 onward doesn't need defaults to be set #40

Open
stevenroose opened this Issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@stevenroose
Copy link
Collaborator

stevenroose commented Apr 15, 2019

I believe since 0.17, Bitcoin Core doesn't use the number of arguments to check whether an argument is set, but the isNull checker instead. This means we don't have to provide default values for the unset optionals before the last set optional. We should just be able to pass serde_json::Value::Null instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.