-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-9688] Remove dangerous unused CCID.ChainID
The CCID struct has a ChainID field. This field affects the output of GetName(). There is a comment in GetName() indicating that if unset, the chaincode must be a chainless system chaincode, however, this field is in fact never set. If it were, the rest of the chaincode container logic would break, and we would spawn a container per chaincode per channel, instead of just per chaincode. This CR removes this unused field and the logic in GetName around it. Change-Id: I9f666d7f2c2942372a363bc301f275c56fe55228 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Apr 24, 2018
1 parent
72ef358
commit addaee5
Showing
3 changed files
with
5 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters