Skip to content

Commit

Permalink
trivial change
Browse files Browse the repository at this point in the history
  • Loading branch information
amoylan2 committed Jun 28, 2024
1 parent c60ff5c commit 74c953d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewL1MessageFetcher(ctx context.Context, cfg *config.FetcherConfig, db *gor
cfg: cfg,
client: client,
eventUpdateLogic: logic.NewEventUpdateLogic(db, true),
l1FetcherLogic: logic.NewL1FetcherLogic(ctx, cfg, db, client),
l1FetcherLogic: logic.NewL1FetcherLogic(cfg, db, client),
}

reg := prometheus.DefaultRegisterer
Expand Down
2 changes: 1 addition & 1 deletion bridge-history-api/internal/logic/l1_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type L1FetcherLogic struct {
}

// NewL1FetcherLogic creates L1 fetcher logic
func NewL1FetcherLogic(ctx context.Context, cfg *config.FetcherConfig, db *gorm.DB, client *ethclient.Client) *L1FetcherLogic {
func NewL1FetcherLogic(cfg *config.FetcherConfig, db *gorm.DB, client *ethclient.Client) *L1FetcherLogic {
addressList := []common.Address{
common.HexToAddress(cfg.ETHGatewayAddr),

Expand Down

0 comments on commit 74c953d

Please sign in to comment.