From 6ca8f54e01df1b54a6fb6b52616c6259eafaa13e Mon Sep 17 00:00:00 2001 From: Alessandro Sorniotti Date: Thu, 6 Sep 2018 09:59:57 +0200 Subject: [PATCH] [FAB-11893] Code hygiene: remove unused const Part of the restructuring of the validator lead to the removal of the identity deduplication code. A constant used by that code is no longer referenced and can be removed. Change-Id: Id0b6fa70f2974502aeced54170a483978bb0f0d5 Signed-off-by: Alessandro Sorniotti Signed-off-by: Matthias Neugschwandtner --- core/handlers/validation/builtin/v13/validation_logic.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/handlers/validation/builtin/v13/validation_logic.go b/core/handlers/validation/builtin/v13/validation_logic.go index 0aa35da73db..3f1ffe2de8d 100644 --- a/core/handlers/validation/builtin/v13/validation_logic.go +++ b/core/handlers/validation/builtin/v13/validation_logic.go @@ -25,10 +25,6 @@ import ( var logger = flogging.MustGetLogger("vscc") -const ( - DUPLICATED_IDENTITY_ERROR = "Endorsement policy evaluation failure might be caused by duplicated identities" -) - var validCollectionNameRegex = regexp.MustCompile(ccmetadata.AllowedCharsCollectionName) //go:generate mockery -dir ../../api/capabilities/ -name Capabilities -case underscore -output mocks/