mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-12-27 23:27:50 +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(
|
||||
[{ tx: txCreated, output_index: 0 }],
|
||||
[aliceOutput],
|
||||
[BigchainDB.Transaction.makeOutput(
|
||||
BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))],
|
||||
metaData
|
||||
)
|
||||
|
||||
@ -80,7 +81,8 @@ transaction spending two outputs from two different create transactions:
|
||||
const createTranfer = BigchainDB.Transaction.makeTransferTransaction(
|
||||
[{ tx: txCreated1, output_index: 0 },
|
||||
M{ tx: txCreated2, output_index: 0}],
|
||||
[aliceOutput],
|
||||
[BigchainDB.Transaction.makeOutput(
|
||||
BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))],
|
||||
metaData
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user