From cbbbc78b44da4b1e599deb5f63adfb71388be616 Mon Sep 17 00:00:00 2001 From: Yuki Kondo Date: Mon, 13 Aug 2018 18:58:19 +0000 Subject: [PATCH] [FAB-11577] Fix balance transfer to install Chaincode 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 --- balance-transfer/app/install-chaincode.js | 1 - 1 file changed, 1 deletion(-) diff --git a/balance-transfer/app/install-chaincode.js b/balance-transfer/app/install-chaincode.js index 938e59f8da..2bc8bbb706 100644 --- a/balance-transfer/app/install-chaincode.js +++ b/balance-transfer/app/install-chaincode.js @@ -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,