Skip to content

Commit 6fde439

Browse files
committed
Remove un-needed WARN logging from MCS
This shouldn't be logged at all, and isn't a warning, or a problem. Change-Id: I380173942f1e2a0ce98381bd009948cb61a44917 Signed-off-by: Yacov Manevich <[email protected]>
1 parent 5219e39 commit 6fde439

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

peer/gossip/sa/sa.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ func (advisor *mspSecurityAdvisor) OrgByPeerIdentity(peerIdentity api.PeerIdenti
6565

6666
// First check against the local MSP.
6767
identity, err := mgmt.GetLocalMSP().DeserializeIdentity([]byte(peerIdentity))
68-
if err != nil {
69-
logger.Warning("LocalMSP failed deserializing peer identity [%s]", err)
70-
} else {
68+
if err == nil {
7169
return []byte(identity.GetMSPIdentifier())
7270
}
7371

0 commit comments

Comments
 (0)