Fix param sequence for typescript invoke function.

Signed-off-by: Chris Gabriel <chris_gabriel_98@yahoo.com>
This commit is contained in:
Chris Gabriel 2020-07-06 09:17:16 -05:00 committed by denyeart
parent e83aecfe0c
commit 621a2c263e

View file

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