Skip to content

Conversation

GideonBature
Copy link
Contributor

The JSON-RPC method lockunspent does return a type. We want to test this to catch any changes in behavior in future Core versions.

This PR adds a client function that errors if the return value is anything other than the type it returns, along with an integration test that calls this function.

Ref: #116

Expand client and test based on arg

Use assert inplace of assert_eq
@GideonBature
Copy link
Contributor Author

Implemented all the suggestions made. Thank you.

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 045b25e

@tcharding tcharding merged commit 0a69f5e into rust-bitcoin:master Jul 1, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants