Skip to content

[BUG] - ARC Broadcast should return status error when a double spend is detected. #30

@sirdeggen

Description

@sirdeggen

Migrated from bsv-blockchain/ts-sdk#105

Bug Description

"orphan should not be considered success. So we ought to go back and make sure the ARC client is making good decisions about whether or not a tx is considered successfully broadcast."

Steps to Reproduce

  1. Create a new transaction that consumes an already spent output.
  2. Broadcast the transaction to ARC.
  3. The status returned, last tested, says "success" instead of "error".

Expected Behavior

In order to correctly identify broadcast errors using the isBroadcastFailure function, the ARC broadcaster should correctly return errors with status of "error" for all common errors that need to be handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions