bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.81k stars 2.08k forks source link

transaction Error: changeIndex key become undefined on change method #3577

Closed Cyro56 closed 1 year ago

Cyro56 commented 1 year ago

When calling the change() method on a Bitcore transaction builder , the _changeIndex property of the transaction builder becomes undefined before the serialize() method is called. This leads to an error message with the following text:

"[undefined - For more information please see: (https://github.com/bitpay/bitcore/blob/master/packages/bitcore-lib/docs/transaction.md#serialization-checks)".

Is Important to say, that the code was running before, making transactions with this same address. But today, I give these problem that I never come before.

Cyro56 commented 1 year ago

Self Resolution

A demanda se resolveu sozinha, acredito que o bug foi corrigido