Browse Source

TxIn: add sequence to standardized object

patch-2
olalonde 11 years ago
parent
commit
9aa210bccb
  1. 3
      Transaction.js

3
Transaction.js

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

Loading…
Cancel
Save