FAB-9552 Fix access of an un-declared variable

Change-Id: Ia518b5733e69a999a304d251390999fa1291b4eb
Signed-off-by: Qiang Yiting <suntoe@189.cn>
This commit is contained in:
Qiang Yiting 2018-04-18 00:32:41 +08:00 committed by Christopher Ferris
parent 2d6386c421
commit 98561e0919

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') {