mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
ESLint fixes
This commit is contained in:
parent
35e1073a2f
commit
202bf16d09
@ -23,11 +23,12 @@ export default class Transaction {
|
||||
}
|
||||
|
||||
makeInputTemplate(publicKeys = [], fulfills = null, fulfillment = null) {
|
||||
return {
|
||||
const inputTemplate = {
|
||||
fulfillment,
|
||||
fulfills,
|
||||
'owners_before': publicKeys,
|
||||
}
|
||||
return inputTemplate
|
||||
}
|
||||
|
||||
hashTransaction(transaction) {
|
||||
@ -39,7 +40,7 @@ export default class Transaction {
|
||||
}
|
||||
|
||||
makeTransactionTemplate() {
|
||||
return {
|
||||
const txTemplate = {
|
||||
'id': null,
|
||||
'operation': null,
|
||||
'outputs': [],
|
||||
@ -48,6 +49,7 @@ export default class Transaction {
|
||||
'asset': null,
|
||||
'version': '1.0',
|
||||
}
|
||||
return txTemplate
|
||||
}
|
||||
|
||||
makeTransaction(operation, asset, metadata = null, outputs = [], inputs = []) {
|
||||
|
Loading…
Reference in New Issue
Block a user