Skip to content

Commit

Permalink
fix /lib/channel.js error
Browse files Browse the repository at this point in the history
change let peer to peer so request.target can be access correctly

FIX ISSUE : #FAB-5243

Change-Id: I06b9db5b1db7abde12168ccffe7221f67d27aec3
Signed-off-by:  norman kung <kungyc@tw.ibm.com>
  • Loading branch information
normankung authored and jimthematrix committed Jul 14, 2017
1 parent 3579db1 commit 12184fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ var Channel = class {

var peers = null;
if (request) {
let peers = request.targets;
peers = request.targets;
}
if (!peers || peers.length < 1) {
peers = this.getPeers();
Expand Down

0 comments on commit 12184fc

Please sign in to comment.