From 9b05b7354f89c5fd1067e61cf441d67ea43f8732 Mon Sep 17 00:00:00 2001 From: michielmulders Date: Thu, 2 Nov 2017 22:25:26 +0100 Subject: [PATCH] ESLint fixes --- src/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transaction.js b/src/transaction.js index cd1fcf1..b49c6e9 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -16,10 +16,10 @@ export default class Transaction { serializeTransactionIntoCanonicalString(transaction) { // BigchainDB signs fulfillments by serializing transactions into a // "canonical" format where - const tx = clone(transaction) + const tx = this.clone(transaction) // TODO: set fulfillments to null // 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) {