Skip to content

Commit

Permalink
FAB-9552 Fix access of an un-declared variable
Browse files Browse the repository at this point in the history
Change-Id: Ia518b5733e69a999a304d251390999fa1291b4eb
Signed-off-by: Qiang Yiting <suntoe@189.cn>
  • Loading branch information
suntoe authored and christo4ferris committed May 3, 2018
1 parent 2d6386c commit 98561e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabcar/invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 98561e0

Please sign in to comment.