Skip to content

Commit

Permalink
backend: fix interface conversion: chain.BorConfig is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
taratorio committed Jan 15, 2025
1 parent f733744 commit f1b866c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ func New(ctx context.Context, stack *node.Node, config *ethconfig.Config, logger
}()
}

if config.PolygonSync {
if chainConfig.Bor != nil && config.PolygonSync {
backend.polygonSyncService = polygonsync.NewService(
logger,
chainConfig,
Expand Down

0 comments on commit f1b866c

Please sign in to comment.