Skip to content

Commit

Permalink
[FAB-2195] Fix infinite loop in mspconf
Browse files Browse the repository at this point in the history
https://jira.hyperledger.org/browse/FAB-2195

Refactoring the MSP config handler code it made sense to embed the MSP
manager into the config handler structure.  This results in an infinite
loop which this CR addresses.

Change-Id: I78e7d9e5079e954f4ed891a659bb0c3c94d620d7
Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
  • Loading branch information
Jason Yellick committed Feb 11, 2017
1 parent d58349a commit d625402
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions common/configtx/handlers/msp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,3 @@ func (bh *MSPConfigHandler) ProposeConfig(configItem *common.ConfigItem) error {
bh.proposedMgr = msp.NewMSPManager()
return bh.proposedMgr.Setup(bh.config)
}

// DesierializeIdentity allows *MSPConfigHandler to implement the msp.Common interface
func (bh *MSPConfigHandler) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) {
return bh.DeserializeIdentity(serializedIdentity)
}

0 comments on commit d625402

Please sign in to comment.