Skip to content

Commit

Permalink
[FAB-12215]WYFA:Remove chainId in tx proposal request
Browse files Browse the repository at this point in the history
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 <yuki.kondo@hal.hitachi.com>
  • Loading branch information
yuki-kon authored and mastersingh24 committed Mar 17, 2019
1 parent ee5b438 commit aec3389
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fabcar/javascript-low-level/invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async function invoke() {
chaincodeId: 'fabcar',
fcn: 'createCar',
args: ['CAR12', 'Honda', 'Accord', 'Black', 'Tom'],
chainId: 'mychannel',
txId: tx_id
};

Expand Down

0 comments on commit aec3389

Please sign in to comment.