Skip to content

Commit 9411bb8

Browse files
committed
fix: enforce 'txid', deprecate 'txId'
1 parent 2455205 commit 9411bb8

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
@@ -1757,7 +1757,8 @@ if ("object" === typeof module) {
17571757
/**
17581758
* @typedef TxInputHashable
17591759
* @prop {String} [address] - BaseCheck58-encoded pubKeyHash
1760-
* @prop {String} txId - hex (not pre-reversed)
1760+
* @prop {String} [txId] - (deprecated) see .txid
1761+
* @prop {String} txid - hex (not pre-reversed)
17611762
* @prop {Uint32} outputIndex - index in previous tx's output (vout index)
17621763
* @prop {Uint53} [satoshis] - (included for convenience as type hack)
17631764
* @prop {String} [signature] - (included as type hack)

0 commit comments

Comments
 (0)