mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-23 02:00:20 +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) {
|
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 = []) {
|
||||||
|
Loading…
Reference in New Issue
Block a user