From 04b0b3904948d4c3dc48e3d55c1e6e2701e82033 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Tue, 12 Apr 2016 15:30:47 -0400 Subject: [PATCH] transaction: include height in spent info --- lib/transactions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/transactions.js b/lib/transactions.js index 505695a..f16b681 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -140,7 +140,8 @@ TxController.prototype.transformOutput = function(output, index) { //reqSigs: null, // TODO }, spentTxId: output.__spentTxId, - spentIndex: output.__spentIndex + spentIndex: output.__spentIndex, + spentHeight: output.__spentHeight //spentTs: undefined // TODO };