remove useless logging, update go-nostr

This commit is contained in:
Barry Deen
2024-09-08 10:55:56 -04:00
parent 241c94e4d7
commit c8353369a3
3 changed files with 30 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"html/template"
"io"
"log"
"net/http"
"os"
@@ -41,6 +42,7 @@ var booted bool
var oneHopNetwork []string
func main() {
nostr.InfoLogger = log.New(io.Discard, "", 0)
booted = false
green := "\033[32m"
reset := "\033[0m"
@@ -321,6 +323,7 @@ func archiveTrustedNotes(relay *khatru.Relay, ctx context.Context) {
if len(ev.Event.Tags) > 2000 {
continue
}
relay.AddEvent(ctx, ev.Event)
trustedNotes++
} else {