Skip to content

Commit

Permalink
Merge "[FAB-5913]balance-transfer:Fix query response message"
Browse files Browse the repository at this point in the history
  • Loading branch information
denyeart authored and Gerrit Code Review committed Jan 30, 2018
2 parents de6ee6e + 948e237 commit 50cb8d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balance-transfer/app/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 50cb8d9

Please sign in to comment.