Skip to content

bitcore-lib-doge got error: Right-hand side of 'instanceof' is not callable #3793

@tower1229

Description

@tower1229

reports an error when using vite to build in a browser environment.

const tx = new bitcore.Transaction().from(utxos).to(toAddress, (transaction.amount)).change(User.doge_address).fee(fee)

It works fine in the vite development service, but an error occurs after building:

image

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