diff --git a/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js b/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js index fba9dc5b..22d109c8 100644 --- a/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js +++ b/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js @@ -66,7 +66,7 @@ class AssetTransfer extends Contract { // we insert data in alphabetic order using 'json-stringify-deterministic' and 'sort-keys-recursive' // when retrieving data, in any lang, the order of data will be the same and consequently also the corresonding hash await ctx.stub.putState(asset.ID, Buffer.from(stringify(sortKeysRecursive(asset)))); - } + } } // CreateAsset issues a new asset to the world state with given details.