From aec33897924317cccc10b52d534a8f3bd792c02a Mon Sep 17 00:00:00 2001 From: Yuki Kondo Date: Thu, 27 Sep 2018 22:12:45 +0000 Subject: [PATCH] [FAB-12215]WYFA:Remove chainId in tx proposal request MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A sample application in Write Your First Application has an unnecessary parameter “chainId” in a transaction proposal request. Since a channel name is included in a channel object, it is not required in a request. This CR removes the parameter ”chainId” from the sample code. FAB-12215 #done Change-Id: I1e9b24c791a2129534766805855d05e78b050149 Signed-off-by: Yuki Kondo --- fabcar/javascript-low-level/invoke.js | 1 - 1 file changed, 1 deletion(-) diff --git a/fabcar/javascript-low-level/invoke.js b/fabcar/javascript-low-level/invoke.js index 65e067a7..e30b7e7c 100644 --- a/fabcar/javascript-low-level/invoke.js +++ b/fabcar/javascript-low-level/invoke.js @@ -77,7 +77,6 @@ async function invoke() { chaincodeId: 'fabcar', fcn: 'createCar', args: ['CAR12', 'Honda', 'Accord', 'Black', 'Tom'], - chainId: 'mychannel', txId: tx_id };