Skip to content

Commit

Permalink
[FAB-4446] NodeSDK - test code invalid
Browse files Browse the repository at this point in the history
Test code is calling newTransactionID(the_user) where is should be
newTransactionID().

Change-Id: If4459d03bb396b855caf2d6c80cf8830dc81227e
Signed-off-by: Bret Harrison <[email protected]>
  • Loading branch information
harrisob committed Jun 7, 2017
1 parent a05c55c commit d8f52a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/e2e/e2eUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ function instantiateChaincode(userOrg, chaincode_path, version, upgrade, t){
};

function buildChaincodeProposal(client, the_user, chaincode_path, version, upgrade, transientMap) {
var tx_id = client.newTransactionID(the_user);
var tx_id = client.newTransactionID();

// send proposal to endorser
var request = {
Expand Down Expand Up @@ -554,7 +554,7 @@ function invokeChaincode(userOrg, version, t, useStore){
return channel.initialize();

}).then((nothing) => {
tx_id = client.newTransactionID(the_user);
tx_id = client.newTransactionID();
utils.setConfigSetting('E2E_TX_ID', tx_id.getTransactionID());
logger.debug('setConfigSetting("E2E_TX_ID") = %s', tx_id.getTransactionID());

Expand Down

0 comments on commit d8f52a8

Please sign in to comment.