mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Fix param sequence for typescript invoke function.
Signed-off-by: Chris Gabriel <chris_gabriel_98@yahoo.com>
This commit is contained in:
parent
e83aecfe0c
commit
621a2c263e
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue