From 621a2c263edd5a3787a0b428a88de75d5d49fbf4 Mon Sep 17 00:00:00 2001 From: Chris Gabriel Date: Mon, 6 Jul 2020 09:17:16 -0500 Subject: [PATCH] Fix param sequence for typescript invoke function. Signed-off-by: Chris Gabriel --- asset-transfer-basic/application-typescript/src/invoke.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset-transfer-basic/application-typescript/src/invoke.ts b/asset-transfer-basic/application-typescript/src/invoke.ts index 6f681567..205f3212 100644 --- a/asset-transfer-basic/application-typescript/src/invoke.ts +++ b/asset-transfer-basic/application-typescript/src/invoke.ts @@ -44,7 +44,7 @@ async function main() { // ex: ('createAsset', 'asset1', 'yellow', 'Dave', 5, 1300) // transferAsset transfers an asset with ID asset1 to new owner Tom - requires 2 arguments. // ex: ('transferAsset', 'asset1', 'Tom') - await contract.submitTransaction('createAsset', 'asset13', 'yellow', 'Tom', "5", "1300"); + await contract.submitTransaction('createAsset', 'asset13', 'yellow', "5", 'Tom', "1300"); console.log(`Transaction has been submitted`); // Disconnect from the gateway.