Skip to content

Commit 0e0847c

Browse files
committed
Appease the linter
1 parent de200a1 commit 0e0847c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: cmd/stellar-rpc/internal/daemon/daemon.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ func newCaptiveCore(cfg *config.Config, logger *supportlog.Entry) (*ledgerbacken
126126
if cfg.CaptiveCoreHTTPQueryPort != 0 {
127127
// Only try to enable the server if the port passed is non-zero
128128
queryServerParams = &ledgerbackend.HTTPQueryServerParams{
129-
Port: uint16(cfg.CaptiveCoreHTTPQueryPort),
130-
ThreadPoolSize: uint16(cfg.CaptiveCoreHTTPQueryThreadPoolSize),
131-
SnapshotLedgers: uint16(cfg.CaptiveCoreHTTPQuerySnapshotLedgers),
129+
Port: uint16(cfg.CaptiveCoreHTTPQueryPort), //nolint:gosec
130+
ThreadPoolSize: uint16(cfg.CaptiveCoreHTTPQueryThreadPoolSize), //nolint:gosec
131+
SnapshotLedgers: uint16(cfg.CaptiveCoreHTTPQuerySnapshotLedgers), //nolint:gosec
132132
}
133133
}
134134

0 commit comments

Comments
 (0)