1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-29 08:07:51 +01:00

revived on_the_record

This commit is contained in:
diminator 2017-02-16 10:20:52 +01:00
parent 6baa42b2f0
commit b894386132

View File

@ -109,6 +109,7 @@ export function makeCreateTransaction(asset, metadata, outputs, ...issuers) {
export function makeTransferTransaction(unspentTransaction, metadata, outputs, ...fulfilledOutputs) {
const inputs = fulfilledOutputs.map((outputIndex) => {
const fulfilledOutput = unspentTransaction.outputs[outputIndex];
console.log(unspentTransaction, fulfilledOutput)
const transactionLink = {
'output': outputIndex,
'txid': unspentTransaction.id,