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

Cleanup trade wallet code #4997

Merged
merged 3 commits into from Dec 28, 2020
Merged

Conversation

chimp1984
Copy link
Contributor

No description provided.

@chimp1984 chimp1984 changed the title Remove unused code Cleanup trade wallet code Dec 23, 2020
* Holds the relevant data for the connected output for a tx input.
* ParentTransaction means here the spending tx, the tx of the output not the parentTransaction of the input itself.
* Also index refers to the index of the spending output
*/
Copy link
Member

Choose a reason for hiding this comment

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

I would reformat the method javadoc with some minor grammar changes:

    /**
     * Holds the relevant data for the connected output for a tx input.
     * @param index  the index of the parentTransaction
     * @param parentTransaction  the spending output tx, not the parent tx of the input
     * @param value  the number of satoshis being spent
     */

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, will do a commit a bit later (in the middle of some other works atm...)

ghubstan
ghubstan previously approved these changes Dec 24, 2020
jmacxx
jmacxx previously approved these changes Dec 27, 2020
TransactionOutput hashedMultiSigOutput = new TransactionOutput(params, null, msOutputValue, hashedMultiSigOutputScript.getProgram());
Transaction depositTx = new Transaction(params);
depositTx.addOutput(hashedMultiSigOutput);

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 @chimp1984 thanks for finding this! 😅

@chimp1984 chimp1984 dismissed stale reviews from jmacxx and ghubstan via 62ca826 December 27, 2020 00:48
Copy link
Member

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

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.

None yet

4 participants