mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 09:05:10 +00:00
Merge "FAB-9552 Fix access of an un-declared variable"
This commit is contained in:
commit
14cfb00ce7
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ Fabric_Client.newDefaultKeyValueStore({ path: store_path
|
||||||
if (results && results[0] && results[0].status === 'SUCCESS') {
|
if (results && results[0] && results[0].status === 'SUCCESS') {
|
||||||
console.log('Successfully sent transaction to the orderer.');
|
console.log('Successfully sent transaction to the orderer.');
|
||||||
} else {
|
} 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') {
|
if(results && results[1] && results[1].event_status === 'VALID') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue