mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
revived on_the_record
This commit is contained in:
parent
6baa42b2f0
commit
b894386132
1
index.js
1
index.js
@ -109,6 +109,7 @@ export function makeCreateTransaction(asset, metadata, outputs, ...issuers) {
|
|||||||
export function makeTransferTransaction(unspentTransaction, metadata, outputs, ...fulfilledOutputs) {
|
export function makeTransferTransaction(unspentTransaction, metadata, outputs, ...fulfilledOutputs) {
|
||||||
const inputs = fulfilledOutputs.map((outputIndex) => {
|
const inputs = fulfilledOutputs.map((outputIndex) => {
|
||||||
const fulfilledOutput = unspentTransaction.outputs[outputIndex];
|
const fulfilledOutput = unspentTransaction.outputs[outputIndex];
|
||||||
|
console.log(unspentTransaction, fulfilledOutput)
|
||||||
const transactionLink = {
|
const transactionLink = {
|
||||||
'output': outputIndex,
|
'output': outputIndex,
|
||||||
'txid': unspentTransaction.id,
|
'txid': unspentTransaction.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user