1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 17:50:09 +01:00

serializeTransactionIntoCanonicalString line length

This commit is contained in:
tim 2017-06-19 18:15:12 +02:00
parent 03c17ef70c
commit 44896b98dc

View File

@ -9,7 +9,8 @@ import clone from 'clone'
* @return {string} a canonically serialized Transaction * @return {string} a canonically serialized Transaction
*/ */
export default function serializeTransactionIntoCanonicalString(transaction) { export default function serializeTransactionIntoCanonicalString(transaction) {
// BigchainDB signs fulfillments by serializing transactions into a "canonical" format where // BigchainDB signs fulfillments by serializing transactions into a
// "canonical" format where
const tx = clone(transaction) const tx = clone(transaction)
// TODO: set fulfillments to null // TODO: set fulfillments to null
// Sort the keys // Sort the keys