mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-25 11:28:37 +01:00
camelcase output_index
This commit is contained in:
parent
c169eb5d48
commit
bc574c2b9d
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user