From 91a857f424ac2ac2a6e1065530da1ce3ba889152 Mon Sep 17 00:00:00 2001 From: olalonde Date: Fri, 11 Apr 2014 23:50:32 +0800 Subject: [PATCH] TxIn: don't set sequence to null if 0xffffffff --- Transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Transaction.js b/Transaction.js index f3a8dd0..20d86e8 100644 --- a/Transaction.js +++ b/Transaction.js @@ -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');