Skip to content

Commit

Permalink
[FAB-11893] Code hygiene: remove unused const
Browse files Browse the repository at this point in the history
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 <ale.linux@sopit.net>
Signed-off-by: Matthias Neugschwandtner <eug@zurich.ibm.com>
  • Loading branch information
ale-linux committed Sep 6, 2018
1 parent de6c840 commit 6ca8f54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/handlers/validation/builtin/v13/validation_logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 6ca8f54

Please sign in to comment.