Skip to content

Commit

Permalink
[FAB-4918] NodeSDK - remove workaround
Browse files Browse the repository at this point in the history
Need to remove the workaround for a fabric issue
where there was a problem with the config block number.
Very minor change, but very important as users will
be using this API to get current the configuration and not
want the starting configuration.

Change-Id: I0777c832584e98f2ab9ae9dbf0e7bb7e66cf0848
Signed-off-by: Bret Harrison <[email protected]>
  • Loading branch information
harrisob committed Jun 21, 2017
1 parent c45ac4d commit 9dc6490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabric-client/lib/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,13 +586,13 @@ var Channel = class {
// now build the seek info to get the block called out
// as the latest config block
var seekSpecifiedStart = new _abProto.SeekSpecified();
seekSpecifiedStart.setNumber(0); //FIXME: temporary hack to workaround https://jira.hyperledger.org/browse/FAB-3493
seekSpecifiedStart.setNumber(last_config.index);
var seekStart = new _abProto.SeekPosition();
seekStart.setSpecified(seekSpecifiedStart);

// build stop
var seekSpecifiedStop = new _abProto.SeekSpecified();
seekSpecifiedStop.setNumber(0); //FIXME: temporary hack to workaround https://jira.hyperledger.org/browse/FAB-3493
seekSpecifiedStop.setNumber(last_config.index);
var seekStop = new _abProto.SeekPosition();
seekStop.setSpecified(seekSpecifiedStop);

Expand Down

0 comments on commit 9dc6490

Please sign in to comment.