Merge "[FAB-5913]balance-transfer:Fix query response message"

This commit is contained in:
David Enyeart 2018-01-30 19:12:51 +00:00 committed by Gerrit Code Review
commit 50cb8d9b1f

View file

@ -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';