From ebf5f6a4087e15a67e4db2c1019b6949fc72a06d Mon Sep 17 00:00:00 2001 From: manolodewiner Date: Tue, 19 Dec 2017 15:57:36 +0100 Subject: [PATCH] small correction when changing to camelcase --- src/transaction/makeTransferTransaction.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transaction/makeTransferTransaction.js b/src/transaction/makeTransferTransaction.js index 974700d..b2a5110 100644 --- a/src/transaction/makeTransferTransaction.js +++ b/src/transaction/makeTransferTransaction.js @@ -24,7 +24,8 @@ export default function makeTransferTransaction( metadata ) { const inputs = unspentOutputs.map((unspentOutput) => { - const { tx, outputIndex } = unspentOutput + const tx = unspentOutput.tx + const outputIndex = unspentOutput.output_index const fulfilledOutput = tx.outputs[outputIndex] const transactionLink = { 'output_index': outputIndex,