mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
[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 <yuki.kondo@hal.hitachi.com>
This commit is contained in:
parent
bfdc0b6e7a
commit
cbbbc78b44
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue