mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-26 04:20:42 +01:00
serializeTransactionIntoCanonicalString line length
This commit is contained in:
parent
03c17ef70c
commit
44896b98dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user