From f1b866ceb942ce697b611741e3561bbd52483052 Mon Sep 17 00:00:00 2001 From: taratorio <94537774+taratorio@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:45:04 +0000 Subject: [PATCH] backend: fix interface conversion: chain.BorConfig is nil --- eth/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/backend.go b/eth/backend.go index af8ff662077..8cd97584fd6 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -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,