Skip to content

Commit

Permalink
#5022: fixed go fmt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Oct 10, 2023
1 parent e70093c commit b24cca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion services/horizon/cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ var dbFillGapsCmd = &cobra.Command{
withRange = true
}


err := horizon.ApplyFlags(globalConfig, globalFlags, horizon.ApplyOptions{RequireCaptiveCoreFullConfig: false, AlwaysIngest: true})
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/cmd/ingest.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ var ingestInitGenesisStateCmd = &cobra.Command{
Use: "init-genesis-state",
Short: "ingests genesis state (ledger 1)",
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.Background()
ctx := context.Background()
if err := horizon.ApplyFlags(globalConfig, globalFlags, horizon.ApplyOptions{RequireCaptiveCoreFullConfig: false, AlwaysIngest: true}); err != nil {
return err
}
Expand Down

0 comments on commit b24cca6

Please sign in to comment.