Skip to content

Commit

Permalink
remove inputMap from serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
matiu committed Apr 16, 2014
1 parent 1a28683 commit edfa683
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions TransactionBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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
Expand Down

0 comments on commit edfa683

Please sign in to comment.