diff --git a/src/transaction_builder.js b/src/transaction_builder.js index f860f95..f4d9923 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -113,7 +113,7 @@ TransactionBuilder.fromTransaction = function (transaction) { assert(!Transaction.isCoinbaseHash(txIn.hash), 'coinbase inputs not supported') // Ignore empty scripts - if (txIn.script.buffer.length === 0) return + if (txIn.script.buffer.length === 0) return {} return extractInput(txIn) })