From 5ac90a34dfa16d038f6996e84a9f4f42cbaff08f Mon Sep 17 00:00:00 2001 From: Bartek Nowotarski Date: Wed, 9 Jun 2021 21:11:59 +0200 Subject: [PATCH] services/horizon: Fix verify-range command toml crash --- services/horizon/cmd/ingest.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/services/horizon/cmd/ingest.go b/services/horizon/cmd/ingest.go index fab195fac2..ae5b4e62e3 100644 --- a/services/horizon/cmd/ingest.go +++ b/services/horizon/cmd/ingest.go @@ -100,13 +100,15 @@ var ingestVerifyRangeCmd = &cobra.Command{ } ingestConfig := ingest.Config{ - NetworkPassphrase: config.NetworkPassphrase, - HistorySession: horizonSession, - HistoryArchiveURL: config.HistoryArchiveURLs[0], - EnableCaptiveCore: config.EnableCaptiveCoreIngestion, - CaptiveCoreBinaryPath: config.CaptiveCoreBinaryPath, - RemoteCaptiveCoreURL: config.RemoteCaptiveCoreURL, - CheckpointFrequency: config.CheckpointFrequency, + NetworkPassphrase: config.NetworkPassphrase, + HistorySession: horizonSession, + HistoryArchiveURL: config.HistoryArchiveURLs[0], + EnableCaptiveCore: config.EnableCaptiveCoreIngestion, + CaptiveCoreBinaryPath: config.CaptiveCoreBinaryPath, + RemoteCaptiveCoreURL: config.RemoteCaptiveCoreURL, + CheckpointFrequency: config.CheckpointFrequency, + CaptiveCoreToml: config.CaptiveCoreToml, + CaptiveCoreStoragePath: config.CaptiveCoreStoragePath, } if !ingestConfig.EnableCaptiveCore {