fix tx.toExtended.

This commit is contained in:
Christopher Jeffrey 2016-03-31 07:03:34 -07:00
parent dda07e8eab
commit bb34a80f9d

View File

@ -1269,7 +1269,7 @@ TX.prototype.toExtended = function toExtended(saveCoins) {
bcoin.protocol.framer.renderTX(this, true, p);
p.writeU32(height);
p.writeHash(this.block || constants.zeroHash);
p.writeU32(this.index);
p.writeU32(index);
p.writeU32(this.ts);
p.writeU32(this.ps);
// p.writeU32(changeIndex);