-
Notifications
You must be signed in to change notification settings - Fork 322
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
refactor(wallet): cleanup and remove unused code in create_tx #1768
refactor(wallet): cleanup and remove unused code in create_tx #1768
Conversation
All tests still pass after doing this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK a0ba177
a0ba177
to
cc90507
Compare
Re-based and fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cACK cc90507
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK cc90507
cc90507
to
a2f7a8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased to trigger CI
reACK a2f7a8b
Description
Cleanup and remove unused code in
Wallet::create_tx
, this was noticed during review of #1763. See: #1763 (comment)fixes #1710
Notes to the reviewers
In addition to removing the unneeded assignments to
fee_amount
andreceived
I also refactored creation of the change output to be anif let
instead ofmatch
statement since it only needs to do something if there isExcess::Change
.I should have done this cleanup as part of #1048.
Changelog notice
None, only internal cleanup.
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committing