mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
fulfills.output -> fulfills.output_index
This commit is contained in:
parent
f82706ecbb
commit
b665752c8c
@ -33,7 +33,7 @@ export default function makeTransferTransaction(
|
||||
const inputs = outputIndices.map((outputIndex) => {
|
||||
const fulfilledOutput = unspentTransaction.outputs[outputIndex]
|
||||
const transactionLink = {
|
||||
'output': outputIndex,
|
||||
'output_index': outputIndex,
|
||||
'transaction_id': unspentTransaction.id,
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ test('Create TRANSFER transaction based on CREATE transaction', t => {
|
||||
[aliceOutput],
|
||||
[makeInputTemplate(
|
||||
[alice.publicKey],
|
||||
{ output: 0, transaction_id: createTx.id }
|
||||
{ output_index: 0, transaction_id: createTx.id }
|
||||
)]
|
||||
]
|
||||
|
||||
@ -113,7 +113,7 @@ test('Create TRANSFER transaction based on TRANSFER transaction', t => {
|
||||
[aliceOutput],
|
||||
[makeInputTemplate(
|
||||
[alice.publicKey],
|
||||
{ output: 0, transaction_id: transferTx.id }
|
||||
{ output_index: 0, transaction_id: transferTx.id }
|
||||
)]
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user