From 11bf5ca2190a12411ec9631af694f534aa19a6dc Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Wed, 27 May 2026 11:50:30 +0200 Subject: [PATCH] loopdb: clean up comments --- loopdb/postgres.go | 2 +- loopdb/protocol_version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loopdb/postgres.go b/loopdb/postgres.go index 3058b1a6..fec6dd45 100644 --- a/loopdb/postgres.go +++ b/loopdb/postgres.go @@ -39,7 +39,7 @@ type PostgresConfig struct { RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."` } -// DSN returns the dns to connect to the database. +// DSN returns the data source name used to connect to the database. func (s *PostgresConfig) DSN(hidePassword bool) string { var sslMode = "disable" if s.RequireSSL { diff --git a/loopdb/protocol_version.go b/loopdb/protocol_version.go index 025d63ac..c9841483 100644 --- a/loopdb/protocol_version.go +++ b/loopdb/protocol_version.go @@ -24,7 +24,7 @@ const ( ProtocolVersionSegwitLoopIn ProtocolVersion = 2 // ProtocolVersionPreimagePush indicates that the client will push loop - // out preimages to the sever to speed up claim. + // out preimages to the server to speed up claim. ProtocolVersionPreimagePush ProtocolVersion = 3 // ProtocolVersionUserExpiryLoopOut indicates that the client will