Skip to content

TransactionBuilder.fromTransaction #331

@bezreyhan

Description

@bezreyhan

I'm running into an interesting issue.

If I add inputs to a TransactionBuilder I do not get any errors. However, when I add inputs to a transaction and then run TransactionBuilder.fromTransaction(tx) I get this error: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/transaction_builder.js#L90

The problem arises here: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/transaction_builder.js#L90

when I console.log the result of classifyInput I get:

 "nonstandard"

Am I doing something incorrectly or is there a bug here? Should we be running classifyOutput instead of classifyInput?

Thanks

Metadata

Metadata

Assignees

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