[FAB-6902] FAB-6904 correct the sample for FAB-6904

Maybe this sub-task is too stricky and tiny. 
To make the source easier to be read together as explained in the WYFA doc.

Change-Id: Icc0dc56c3e25ca7b8d4828935addd5ec7229e51c
Signed-off-by: Min Luo <luomin_tokyotech@hotmail.com>
This commit is contained in:
luomin 2017-11-07 21:37:15 +09:00 committed by Min Luo
parent 04320ab199
commit 24ef9da1c6

View file

@ -56,7 +56,7 @@ Fabric_Client.newDefaultKeyValueStore({ path: store_path
console.log("Assigning transaction_id: ", tx_id._transaction_id);
// createCar chaincode function - requires 5 args, ex: args: ['CAR12', 'Honda', 'Accord', 'Black', 'Tom'],
// changeCarOwner chaincode function - requires 2 args , ex: args: ['CAR10', 'Barry'],
// changeCarOwner chaincode function - requires 2 args , ex: args: ['CAR10', 'Dave'],
// must send the proposal to endorsing peers
var request = {
//targets: let default to the peer assigned to the client