Skip to content

Commit c4e6764

Browse files
committed
fix: enforce 'txid', deprecate 'txId'
1 parent 26792f9 commit c4e6764

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dashtx.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,8 @@ if ("object" === typeof module) {
16971697
/**
16981698
* @typedef TxInputHashable
16991699
* @prop {String} [address] - BaseCheck58-encoded pubKeyHash
1700-
* @prop {String} txId - hex (not pre-reversed)
1700+
* @prop {String} [txId] - (deprecated) see .txid
1701+
* @prop {String} txid - hex (not pre-reversed)
17011702
* @prop {Uint32} outputIndex - index in previous tx's output (vout index)
17021703
* @prop {Uint53} [satoshis] - (included for convenience as type hack)
17031704
* @prop {String} [signature] - (included as type hack)

0 commit comments

Comments
 (0)