From 202163913925ed32b6ba716ab6e379f8abc7e491 Mon Sep 17 00:00:00 2001 From: amed83 Date: Tue, 5 Jun 2018 16:47:17 +0200 Subject: [PATCH] changeing bad nameed variable --- src/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transaction.js b/src/transaction.js index 6d98451..494898a 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -246,9 +246,9 @@ export default class Transaction { input.fulfillment = fulfillmentUri }) - const serializedSecondTransaction = + const serializedSignedTransaction = Transaction.serializeTransactionIntoCanonicalString(signedTx) - signedTx.id = sha256Hash(serializedSecondTransaction) + signedTx.id = sha256Hash(serializedSignedTransaction) return signedTx } }