Merge "FAB-9552 Fix access of an un-declared variable"

This commit is contained in:
Gari Singh 2018-05-11 08:31:47 +00:00 committed by Gerrit Code Review
commit 14cfb00ce7

View file

@ -148,7 +148,7 @@ Fabric_Client.newDefaultKeyValueStore({ path: store_path
if (results && results[0] && results[0].status === 'SUCCESS') {
console.log('Successfully sent transaction to the orderer.');
} else {
console.error('Failed to order the transaction. Error code: ' + response.status);
console.error('Failed to order the transaction. Error code: ' + results[0].status);
}
if(results && results[1] && results[1].event_status === 'VALID') {