-
Notifications
You must be signed in to change notification settings - Fork 39
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
Tidy up transaction.js #88
Conversation
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.
tACK 592e017:
normal tx delegation undelegation and MN creation working as expected
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.
tACK, tested with over 1000 UTXOs in many different transaction styles (Send - Delegate - Undelegate) 🎉
Extremely clean - great to finally have our last messy part of 'coin control' centralised in to a single transaction function finally, massive code reduction there alone.
Great job! 🚀 🔥
Co-authored-by: JSKitty <jskitty@protonmail.com>
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.
re-tACK 8e6bfd5 - Perfect! 🎉
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.
(re) tACK 8e6bfd5
* Rewritten delegate, undelegate, sendTx * Now they work * Ran prettier * Added error checking * Restored wallet.js since it will be fixed in PIVX-Labs#87 * Added jsdoc comments * Apply suggestions from code review Co-authored-by: JSKitty <jskitty@protonmail.com> --------- Co-authored-by: JSKitty <jskitty@protonmail.com>
* Rewritten delegate, undelegate, sendTx * Now they work * Ran prettier * Added error checking * Restored wallet.js since it will be fixed in PIVX-Labs#87 * Added jsdoc comments * Apply suggestions from code review Co-authored-by: JSKitty <jskitty@protonmail.com> --------- Co-authored-by: JSKitty <jskitty@protonmail.com>
Abstract
Tidy up transaction.js
What does this PR address?
This PR cleans up transaction.js halving the lines of copy-pasted code and removing unused functions
How does this benefit users?
The code is easier to audit and edit