mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 08:15:08 +00:00
Merge "[FAB-5913]balance-transfer:Fix query response message"
This commit is contained in:
commit
50cb8d9b1f
1 changed files with 2 additions and 2 deletions
|
|
@ -44,9 +44,9 @@ var queryChaincode = async function(peer, channelName, chaincodeName, args, fcn,
|
|||
for (let i = 0; i < response_payloads.length; i++) {
|
||||
logger.info(args[0]+' now has ' + response_payloads[i].toString('utf8') +
|
||||
' after the move');
|
||||
return args[0]+' now has ' + response_payloads[i].toString('utf8') +
|
||||
' after the move';
|
||||
}
|
||||
return args[0]+' now has ' + response_payloads[0].toString('utf8') +
|
||||
' after the move';
|
||||
} else {
|
||||
logger.error('response_payloads is null');
|
||||
return 'response_payloads is null';
|
||||
|
|
|
|||
Loading…
Reference in a new issue