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

validateRefund wipes refundTx output #29

Open
illuzen opened this issue Jun 6, 2015 · 0 comments
Open

validateRefund wipes refundTx output #29

illuzen opened this issue Jun 6, 2015 · 0 comments

Comments

@illuzen
Copy link

illuzen commented Jun 6, 2015

the first line in validateRefund:

refund = new Refund(refund);

overwrites some parts of refund, eliminating the output, which is immediately referenced in the third line in validateRefund:

var receivedAddress = new Address(refund.outputs[0].script, this.network).toString();

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

No branches or pull requests

1 participant