refactor(wallet)!: Simplify public_descriptor(), remove redundant function#1503
Conversation
notmandatory
left a comment
There was a problem hiding this comment.
Looks good, one suggestion for the docs.
|
One final thing, you need to setup a github signing key and squash and sign your commit. |
Sure, I thought I signed it with my yubikey but I just pushed it without signing. Going to fix in a brief. |
4f11928 to
5668d3e
Compare
|
Done. @notmandatory |
|
I just realized you also should update the commit message to conform to https://www.conventionalcommits.org/en/v1.0.0/. We don't usually put github issue numbers in commit messages, so something like this: |
5668d3e to
0fed668
Compare
|
@notmandatory Updated following your suggestions, please let me know if something else needs to be fixed. Thanks. |
|
The commit message is still too wide, 50 chars for title and 72 for body: Suggestion: |
Simplify Wallet::public_descriptor() and update Wallet internals to use public_descriptor() instead of get_descriptor_for_keychain().
0fed668 to
e7ec5a8
Compare
|
Ok, please check now. @notmandatory @storopoli |
notmandatory
left a comment
There was a problem hiding this comment.
ACK e7ec5a8
Thanks for getting this one wrapped up.
|
Thanks to both of you @notmandatory @storopoli . Can it be merged now? |
public_descriptor fn and remove `get_descriptor_for_keych…
Fixes #1501
Description
Simplifies
public_descriptorfunction by usingget_descriptorand removesget_descriptor_for_keychain.Notes to the reviewers
Tested with
cargo test --all-features.Changelog notice
public_descriptorfunction and removesget_descriptor_for_keychainChecklists
All Submissions:
cargo fmtandcargo clippybefore committing