Skip to content

validateRefund wipes refundTx output #29

@illuzen

Description

@illuzen

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions