remove inputMap from serialization
This commit is contained in:
parent
1a28683e4a
commit
edfa6837a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue