fabric-samples/asset-transfer-basic/chaincode-javascript/lib
D 80ecc98739 Correct Javascript Chaincode
- In CreateAsset, await was never called on putState causing issues
especially with tools such as caliper and is not correct practice.
Unfortunately all the other examples use `return` which works but is
actually not the idiomatic way of handling promises, so here await is
chosen rather than return

Signed-off-by: D <d_kelsey@uk.ibm.com>
2021-05-11 09:51:11 +01:00
..
assetTransfer.js Correct Javascript Chaincode 2021-05-11 09:51:11 +01:00