mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2025-02-14 21:10:32 +01:00
Use rest params in fn definition
This commit is contained in:
parent
ed18384b82
commit
9183205f04
@ -54,11 +54,6 @@ export function _makeTransferTransaction(
|
|||||||
// - Rename `fulfilledOutputs`, e.g. inputs
|
// - Rename `fulfilledOutputs`, e.g. inputs
|
||||||
// TODO: `outputs` should throw or include output in array if no array was
|
// TODO: `outputs` should throw or include output in array if no array was
|
||||||
// passed
|
// passed
|
||||||
export default function makeTransferTransaction(
|
export default function makeTransferTransaction(...args) {
|
||||||
unspentTransaction,
|
return makeTransaction(..._makeTransferTransaction(...args))
|
||||||
metadata,
|
|
||||||
outputs,
|
|
||||||
...fulfilledOutputs
|
|
||||||
) {
|
|
||||||
return makeTransaction(..._makeTransferTransaction(...arguments))
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user