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

chain+wallet: make use of the new errors from rpcclient #918

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

yyforyongyu
Copy link
Collaborator

This PR removes the string matching and makes use of the newly defined errors inside rpcclient.

Copy link
Contributor

@ziggie1984 ziggie1984 left a comment

Choose a reason for hiding this comment

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

LGTM thank you for the cleanup makes definitely sense to put the error mapping into the btcd package 🙏

wallet/wallet.go Show resolved Hide resolved
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Very nice! LGTM pending existing comments (and dependent PR).

@guggero
Copy link
Collaborator

guggero commented Mar 18, 2024

Can be updated with final version of btcd.

@guggero guggero merged commit 9a7dd24 into btcsuite:master Mar 18, 2024
3 checks passed
@yyforyongyu yyforyongyu deleted the handle-error-matching branch March 18, 2024 16:04
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.

3 participants