1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 17:50:09 +01:00

ESLint fixes

This commit is contained in:
michielmulders 2017-11-02 23:02:12 +01:00
parent 35e1073a2f
commit 202bf16d09

View File

@ -23,11 +23,12 @@ export default class Transaction {
} }
makeInputTemplate(publicKeys = [], fulfills = null, fulfillment = null) { makeInputTemplate(publicKeys = [], fulfills = null, fulfillment = null) {
return { const inputTemplate = {
fulfillment, fulfillment,
fulfills, fulfills,
'owners_before': publicKeys, 'owners_before': publicKeys,
} }
return inputTemplate
} }
hashTransaction(transaction) { hashTransaction(transaction) {
@ -39,7 +40,7 @@ export default class Transaction {
} }
makeTransactionTemplate() { makeTransactionTemplate() {
return { const txTemplate = {
'id': null, 'id': null,
'operation': null, 'operation': null,
'outputs': [], 'outputs': [],
@ -48,6 +49,7 @@ export default class Transaction {
'asset': null, 'asset': null,
'version': '1.0', 'version': '1.0',
} }
return txTemplate
} }
makeTransaction(operation, asset, metadata = null, outputs = [], inputs = []) { makeTransaction(operation, asset, metadata = null, outputs = [], inputs = []) {