Skip to content

Conversation

@Rahamath-unnisa
Copy link

Fixes #151

This PR updates the ElectrumClientBuilder (and related builder logic) to use std::time::Duration for timeout configuration, instead of a u8 value representing seconds.

Notes to the reviewers
Replaced timeout: Option with timeout: Option in the builder.
Adjusted all relevant function calls and tests accordingly.
Confirmed that all existing integration tests pass.

Checklists:
I've signed all my commits
I followed the contribution guidelines
I ran cargo fmt, cargo clippy, and cargo test before pushing
I’m linking the issue being fixed by this PR

Supersedes #178
This replaces the previous PR which had CI and branch issues.

@Rahamath-unnisa
Copy link
Author

Hi !I’ve re-signed all commits.The CI is pending maintainer approval — please let me know if any further changes are needed.
Thanks for your time and review!

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.

Timeout should be set with a std::time::Duration

1 participant