TxIn: don't set sequence to null if 0xffffffff
This commit is contained in:
parent
9aa210bccb
commit
91a857f424
@ -433,7 +433,7 @@ Transaction.prototype.getStandardizedObject = function getStandardizedObject() {
|
|||||||
hash: buffertools.reverse(new Buffer(txin.getOutpointHash())).toString('hex'),
|
hash: buffertools.reverse(new Buffer(txin.getOutpointHash())).toString('hex'),
|
||||||
n: txin.getOutpointIndex()
|
n: txin.getOutpointIndex()
|
||||||
},
|
},
|
||||||
sequence: (txin.q === 0xffffffff) ? null : txin.q
|
sequence: txin.q
|
||||||
};
|
};
|
||||||
if (txin.isCoinBase()) {
|
if (txin.isCoinBase()) {
|
||||||
txinObj.coinbase = txin.s.toString('hex');
|
txinObj.coinbase = txin.s.toString('hex');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user