Skip to content

transaction.ts issue #11

Description

@trungtaba

I think in hasDuplicates() function: const groups = _.countBy(txIns, (txIn) => txIn.txOutId + txIn.txOutId);
Why we need calculate txIn.txOutId two time?
I think it should be: const groups = _.countBy(txIns, (txIn) => txIn.txOutId + txIn.txOutIndex);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions