Skip to content

Commit

Permalink
fix (minor): lower case system address
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Mar 15, 2023
1 parent 3011d52 commit 521b3a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/service/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions cmd/service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -34,7 +33,6 @@ var (

ko *koanf.Koanf
lo logf.Logger
q goyesql.Queries
)

func init() {
Expand Down

0 comments on commit 521b3a3

Please sign in to comment.