From d625402cd6ecf7374ff3169e7a2a7f8e85e228f6 Mon Sep 17 00:00:00 2001 From: Jason Yellick Date: Sat, 11 Feb 2017 14:44:08 -0500 Subject: [PATCH] [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 --- common/configtx/handlers/msp/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/configtx/handlers/msp/config.go b/common/configtx/handlers/msp/config.go index 8d5f689896f..51d14be3251 100644 --- a/common/configtx/handlers/msp/config.go +++ b/common/configtx/handlers/msp/config.go @@ -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) -}