From 521b3a35e041b6af903f1d0a5c9e1a82308295d8 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Wed, 15 Mar 2023 08:56:08 +0000 Subject: [PATCH] fix (minor): lower case system address --- cmd/service/filters.go | 2 +- cmd/service/main.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/service/filters.go b/cmd/service/filters.go index 0236450..b499395 100644 --- a/cmd/service/filters.go +++ b/cmd/service/filters.go @@ -14,7 +14,7 @@ var ( func initAddressFilter() filter.Filter { // TODO: Temporary shortcut - systemAddress = ko.MustString("chain.system_address") + systemAddress = strings.ToLower(ko.MustString("chain.system_address")) // TODO: Bootstrap addresses from smart contract // TODO: Add route to update cache diff --git a/cmd/service/main.go b/cmd/service/main.go index d6f3929..5d3a00e 100644 --- a/cmd/service/main.go +++ b/cmd/service/main.go @@ -11,7 +11,6 @@ import ( "github.com/grassrootseconomics/cic-chain-events/internal/pipeline" "github.com/grassrootseconomics/cic-chain-events/internal/pub" "github.com/grassrootseconomics/cic-chain-events/internal/syncer" - "github.com/knadh/goyesql/v2" "github.com/knadh/koanf/v2" "github.com/labstack/echo/v4" "github.com/zerodha/logf" @@ -34,7 +33,6 @@ var ( ko *koanf.Koanf lo logf.Logger - q goyesql.Queries ) func init() {