From edfa6837a61166942118ae5fcf2a8e6fe8d9dc7e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 16 Apr 2014 10:34:16 -0300 Subject: [PATCH] remove inputMap from serialization --- TransactionBuilder.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TransactionBuilder.js b/TransactionBuilder.js index 9e741ab..0945ee1 100644 --- a/TransactionBuilder.js +++ b/TransactionBuilder.js @@ -732,8 +732,6 @@ TransactionBuilder.prototype.toObj = function() { //opts : signhash : this.signhash, spendUnconfirmed : this.spendUnconfirmed, - - inputMap : this.inputMap, }; if (this.tx) { data.tx =this.tx.serialize().toString('hex'); @@ -758,7 +756,7 @@ TransactionBuilder.fromObj = function(data) { b.signhash = data.signhash; b.spendUnconfirmed = data.spendUnconfirmed; - b.inputMap = data.inputMap; + b._setInputMap(); if (data.tx) { // Tx may have signatures, that are not on txobj