1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-29 08:07:51 +01:00

changeing bad nameed variable

This commit is contained in:
amed83 2018-06-05 16:47:17 +02:00
parent 5993c4cd6b
commit 2021639139

View File

@ -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
}
}