mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
Clarify 'aliceOutput' in docs
This commit is contained in:
parent
2738f6bdef
commit
c371e3bfad
@ -62,7 +62,8 @@ transaction should be now:
|
|||||||
|
|
||||||
const createTranfer = BigchainDB.Transaction.makeTransferTransaction(
|
const createTranfer = BigchainDB.Transaction.makeTransferTransaction(
|
||||||
[{ tx: txCreated, output_index: 0 }],
|
[{ tx: txCreated, output_index: 0 }],
|
||||||
[aliceOutput],
|
[BigchainDB.Transaction.makeOutput(
|
||||||
|
BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))],
|
||||||
metaData
|
metaData
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -80,7 +81,8 @@ transaction spending two outputs from two different create transactions:
|
|||||||
const createTranfer = BigchainDB.Transaction.makeTransferTransaction(
|
const createTranfer = BigchainDB.Transaction.makeTransferTransaction(
|
||||||
[{ tx: txCreated1, output_index: 0 },
|
[{ tx: txCreated1, output_index: 0 },
|
||||||
M{ tx: txCreated2, output_index: 0}],
|
M{ tx: txCreated2, output_index: 0}],
|
||||||
[aliceOutput],
|
[BigchainDB.Transaction.makeOutput(
|
||||||
|
BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))],
|
||||||
metaData
|
metaData
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user