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

rpcclient: Use btcutil.Address type in all interfaces #1127

Open
gracenoah opened this issue Feb 20, 2018 · 1 comment
Open

rpcclient: Use btcutil.Address type in all interfaces #1127

gracenoah opened this issue Feb 20, 2018 · 1 comment

Comments

@gracenoah
Copy link
Contributor

Right now ImportAddress and some other functions take address as a string while ListUnspentMinMaxAddressesAsync and most other functions take it as btcutil.Address.

Everything function should take btcutil.Address in its interface for type safety.

See also

@stevenroose
Copy link
Contributor

I agree. I'll take this into account for my gRPC implementation.

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 a pull request may close this issue.

2 participants