From 06aa68c0973ba17fa6fa311e995bf29d6cfe151f Mon Sep 17 00:00:00 2001 From: Joan Esteban <129153821+joanestebanr@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:54:53 +0200 Subject: [PATCH] Update dataavailability/datacommittee/datacommittee.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com> --- dataavailability/datacommittee/datacommittee.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dataavailability/datacommittee/datacommittee.go b/dataavailability/datacommittee/datacommittee.go index bfe9393a..c9542e33 100644 --- a/dataavailability/datacommittee/datacommittee.go +++ b/dataavailability/datacommittee/datacommittee.go @@ -22,8 +22,10 @@ import ( "golang.org/x/net/context" ) -const unexpectedHashTemplate = "missmatch on transaction data. Expected hash %s, actual hash: %s" -const translateContextName = "dataCommittee" +const ( + unexpectedHashTemplate = "missmatch on transaction data. Expected hash %s, actual hash: %s" + translateContextName = "dataCommittee" +) // DataCommitteeMember represents a member of the Data Committee type DataCommitteeMember struct {