Skip to content

Commit

Permalink
[FAB-11577] Fix balance transfer to install Chaincode
Browse files Browse the repository at this point in the history
Balance transfer fails to install Chaincode since there is a
undeclared variable "tx_id". However, "tx_id" is not required
in ChaincodeInstallRequest.
This CR removes the line getting transactionId to execute
installChaincode correctly.

Change-Id: Ia62844172ceecd84fa9a9f2e40e804d1f7a7499b
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
  • Loading branch information
yuki-kon committed Aug 13, 2018
1 parent bfdc0b6 commit cbbbc78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion balance-transfer/app/install-chaincode.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var installChaincode = async function(peers, chaincodeName, chaincodePath,
var client = await helper.getClientForOrg(org_name, username);
logger.debug('Successfully got the fabric client for the organization "%s"', org_name);

tx_id = client.newTransactionID(true); //get an admin transactionID
var request = {
targets: peers,
chaincodePath: chaincodePath,
Expand Down

0 comments on commit cbbbc78

Please sign in to comment.