Skip to content

Commit d625402

Browse files
author
Jason Yellick
committed
[FAB-2195] Fix infinite loop in mspconf
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 <[email protected]>
1 parent d58349a commit d625402

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

common/configtx/handlers/msp/config.go

-5
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,3 @@ func (bh *MSPConfigHandler) ProposeConfig(configItem *common.ConfigItem) error {
7373
bh.proposedMgr = msp.NewMSPManager()
7474
return bh.proposedMgr.Setup(bh.config)
7575
}
76-
77-
// DesierializeIdentity allows *MSPConfigHandler to implement the msp.Common interface
78-
func (bh *MSPConfigHandler) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) {
79-
return bh.DeserializeIdentity(serializedIdentity)
80-
}

0 commit comments

Comments
 (0)