fix (minor): lower case system address

This commit is contained in:
Mohamed Sohail 2023-03-15 08:56:08 +00:00
parent 3011d52fae
commit 521b3a35e0
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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() {