mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2025-02-14 21:10:32 +01:00
camelcase output_index
This commit is contained in:
parent
c169eb5d48
commit
bc574c2b9d
@ -24,10 +24,10 @@ export default function makeTransferTransaction(
|
|||||||
metadata
|
metadata
|
||||||
) {
|
) {
|
||||||
const inputs = unspentOutputs.map((unspentOutput) => {
|
const inputs = unspentOutputs.map((unspentOutput) => {
|
||||||
const { tx, output_index } = unspentOutput
|
const { tx, outputIndex } = unspentOutput
|
||||||
const fulfilledOutput = tx.outputs[output_index]
|
const fulfilledOutput = tx.outputs[outputIndex]
|
||||||
const transactionLink = {
|
const transactionLink = {
|
||||||
'output_index': output_index,
|
'output_index': outputIndex,
|
||||||
'transaction_id': tx.id,
|
'transaction_id': tx.id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user