lib/api: String comparisons

This commit is contained in:
Jakob Borg
2022-07-28 18:49:44 +02:00
parent 0c8b22c696
commit 6baa93e13f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ func loadRelays(file string) []*relay {
var relays []*relay
for _, line := range strings.Split(string(content), "\n") {
if len(line) == 0 {
if line == "" {
continue
}