corrected indentation of contract in the chancode-javasript of asset-trnsfer-basic

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
This commit is contained in:
fraVlaca 2021-09-06 12:38:03 +01:00
parent 1007204f9d
commit 8ae4abb924

View file

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