camelcase output_index

This commit is contained in:
Manolo 2017-12-19 15:17:10 +01:00 committed by GitHub
parent c169eb5d48
commit bc574c2b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -24,10 +24,10 @@ export default function makeTransferTransaction(
metadata
) {
const inputs = unspentOutputs.map((unspentOutput) => {
const { tx, output_index } = unspentOutput
const fulfilledOutput = tx.outputs[output_index]
const { tx, outputIndex } = unspentOutput
const fulfilledOutput = tx.outputs[outputIndex]
const transactionLink = {
'output_index': output_index,
'output_index': outputIndex,
'transaction_id': tx.id,
}