From 8ae4abb92414bb61c0ac3d085a558f997820651c Mon Sep 17 00:00:00 2001 From: fraVlaca Date: Mon, 6 Sep 2021 12:38:03 +0100 Subject: [PATCH] corrected indentation of contract in the chancode-javasript of asset-trnsfer-basic Signed-off-by: fraVlaca --- asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.