TxIn: don't set sequence to null if 0xffffffff

This commit is contained in:
olalonde 2014-04-11 23:50:32 +08:00
parent 9aa210bccb
commit 91a857f424
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ Transaction.prototype.getStandardizedObject = function getStandardizedObject() {
hash: buffertools.reverse(new Buffer(txin.getOutpointHash())).toString('hex'),
n: txin.getOutpointIndex()
},
sequence: (txin.q === 0xffffffff) ? null : txin.q
sequence: txin.q
};
if (txin.isCoinBase()) {
txinObj.coinbase = txin.s.toString('hex');