Skip to content

Commit

Permalink
Appease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Feb 6, 2025
1 parent de200a1 commit 0e0847c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/stellar-rpc/internal/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ func newCaptiveCore(cfg *config.Config, logger *supportlog.Entry) (*ledgerbacken
if cfg.CaptiveCoreHTTPQueryPort != 0 {
// Only try to enable the server if the port passed is non-zero
queryServerParams = &ledgerbackend.HTTPQueryServerParams{
Port: uint16(cfg.CaptiveCoreHTTPQueryPort),
ThreadPoolSize: uint16(cfg.CaptiveCoreHTTPQueryThreadPoolSize),
SnapshotLedgers: uint16(cfg.CaptiveCoreHTTPQuerySnapshotLedgers),
Port: uint16(cfg.CaptiveCoreHTTPQueryPort), //nolint:gosec
ThreadPoolSize: uint16(cfg.CaptiveCoreHTTPQueryThreadPoolSize), //nolint:gosec
SnapshotLedgers: uint16(cfg.CaptiveCoreHTTPQuerySnapshotLedgers), //nolint:gosec
}
}

Expand Down

0 comments on commit 0e0847c

Please sign in to comment.