Skip to content

Commit 11bf5ca

Browse files
committed
loopdb: clean up comments
1 parent 089743d commit 11bf5ca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

loopdb/postgres.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type PostgresConfig struct {
3939
RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."`
4040
}
4141

42-
// DSN returns the dns to connect to the database.
42+
// DSN returns the data source name used to connect to the database.
4343
func (s *PostgresConfig) DSN(hidePassword bool) string {
4444
var sslMode = "disable"
4545
if s.RequireSSL {

loopdb/protocol_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
ProtocolVersionSegwitLoopIn ProtocolVersion = 2
2525

2626
// ProtocolVersionPreimagePush indicates that the client will push loop
27-
// out preimages to the sever to speed up claim.
27+
// out preimages to the server to speed up claim.
2828
ProtocolVersionPreimagePush ProtocolVersion = 3
2929

3030
// ProtocolVersionUserExpiryLoopOut indicates that the client will

0 commit comments

Comments
 (0)