Skip to content

Error: Assertion failed on Transaction #220

Open
@cannc4

Description

@cannc4

Expected Behavior

A Transaction should be created with new Transaction()

Current Behavior

Getting an error due to clash with bitcore-lib, or at least that's our diagnosis so far.

Error: Assertion failed

Mostly wanted to report this as we might not be the only repo facing this issue. Considering bitcore is also a very popular and widely used library

Possible Solution

Updating libraries to see if the clash gets resolved - no luck so far

Steps to Reproduce (for bugs)

  1. Install both dashcore-lib and bitcore-lib
    (https://github.com/bitpay/bitcore/tree/v8.0.0/packages/bitcore-lib)
  2. Generate a transaction using new Transaction() with the required parameters.

Context

Your Environment

React Native 0.63.4
All Android/IOS simulators

  • Versions used:
    "@dashevo/dashcore-lib": "^0.19.19"
    "bitcore-lib": "^8.15.0",
    "bitcore-lib-cash": "^8.21.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions