Browse Source
To keep this change minimal, both TxIn/TxOut still use the parameter object for initialization. TxOut accepts only the types it uses internally, and not hex or byte arrays for scripts. The clone is unnecessary as a TransactionOut is never mutated after its creation. This resulted in TransactionOut.scriptPubKey no longer being needed, and was removed. To access the scriptPubKey as a byte buffer, a user can simply use: TransactionOut.script.toBuffer() Unfortunately, this leaves TransactionOut in a sorry state of test. Something that needs to be fixed.hk-custom-address
Daniel Cousens
11 years ago
2 changed files with 9 additions and 42 deletions
Loading…
Reference in new issue