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