Skip to content

Commit 9d67ddd

Browse files
committed
FAB-2200 - do not hardcode local MSP ID
Change-Id: I97ccedd4e2397b7057b8f7be3286c019e1b42698 Signed-off-by: Alessandro Sorniotti <[email protected]>
1 parent 7c1934a commit 9d67ddd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

peer/main.go

-6
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,6 @@ func main() {
102102
// Init the MSP
103103
var mspMgrConfigDir = viper.GetString("peer.mspConfigPath")
104104
var mspID = viper.GetString("peer.localMspId")
105-
106-
if mspID != "DEFAULT" { // FIXME: remove this line as soon as GOSSIP GETS the MSP ID from the genesis block
107-
logger.Warning("Setting mspID to DEFAULT as temporary workaround") // FIXME: remove this line as soon as GOSSIP GETS the MSP ID from the genesis block
108-
mspID = "DEFAULT" // FIXME: remove this line as soon as GOSSIP GETS the MSP ID from the genesis block
109-
} // FIXME: remove this line as soon as GOSSIP GETS the MSP ID from the genesis block
110-
111105
err = common.InitCrypto(mspMgrConfigDir, mspID)
112106
if err != nil { // Handle errors reading the config file
113107
panic(err.Error())

0 commit comments

Comments
 (0)