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:
parent
c793ffbb71
commit
9b05b7354f
@ -16,10 +16,10 @@ export default class Transaction {
|
|||||||
serializeTransactionIntoCanonicalString(transaction) {
|
serializeTransactionIntoCanonicalString(transaction) {
|
||||||
// BigchainDB signs fulfillments by serializing transactions into a
|
// BigchainDB signs fulfillments by serializing transactions into a
|
||||||
// "canonical" format where
|
// "canonical" format where
|
||||||
const tx = clone(transaction)
|
const tx = this.clone(transaction)
|
||||||
// TODO: set fulfillments to null
|
// TODO: set fulfillments to null
|
||||||
// Sort the keys
|
// Sort the keys
|
||||||
return stableStringify(this.tx, (a, b) => (a.key > b.key ? 1 : -1))
|
return stableStringify(tx, (a, b) => (a.key > b.key ? 1 : -1))
|
||||||
}
|
}
|
||||||
|
|
||||||
makeInputTemplate(publicKeys = [], fulfills = null, fulfillment = null) {
|
makeInputTemplate(publicKeys = [], fulfills = null, fulfillment = null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user