From 4f22dcfb4c001d573af50ff166531cff384e7e85 Mon Sep 17 00:00:00 2001 From: peter <1674920+peterbitfly@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:32:32 +0000 Subject: [PATCH] fix(validators): remove unused struct --- handlers/validators.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/handlers/validators.go b/handlers/validators.go index 68772d2a4d..0cdfe3a93b 100644 --- a/handlers/validators.go +++ b/handlers/validators.go @@ -17,11 +17,6 @@ import ( "github.com/gobitfly/eth2-beaconchain-explorer/utils" ) -type states struct { - Name string `db:"statename"` - Count uint64 `db:"statecount"` -} - // Validators returns the validators using a go template func Validators(w http.ResponseWriter, r *http.Request) { templateFiles := append(layoutTemplateFiles, "validators.html")