Skip to content

Commit 5926497

Browse files
committed
fix: enforce 'txid', deprecate 'txId'
1 parent a4cb47c commit 5926497

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
@@ -1739,7 +1739,8 @@ if ("object" === typeof module) {
17391739
/**
17401740
* @typedef TxInputHashable
17411741
* @prop {String} [address] - BaseCheck58-encoded pubKeyHash
1742-
* @prop {String} txId - hex (not pre-reversed)
1742+
* @prop {String} [txId] - (deprecated) see .txid
1743+
* @prop {String} txid - hex (not pre-reversed)
17431744
* @prop {Uint32} outputIndex - index in previous tx's output (vout index)
17441745
* @prop {Uint53} [satoshis] - (included for convenience as type hack)
17451746
* @prop {String} [signature] - (included as type hack)

0 commit comments

Comments
 (0)