diff --git a/nostr.go b/nostr.go index db78d7d..02ab96d 100644 --- a/nostr.go +++ b/nostr.go @@ -157,11 +157,9 @@ func getLastNotes(ctx context.Context, code string, options ...int) []*nostr.Eve }) lastNotes := make([]*nostr.Event, 0, 20) for event := range events { - fmt.Println("last note", event) lastNotes = nostr.InsertEventIntoDescendingList(lastNotes, event) } - - fmt.Println("returning", len(lastNotes)) + return lastNotes } diff --git a/render_relay.go b/render_relay.go index f050a34..7387a98 100644 --- a/render_relay.go +++ b/render_relay.go @@ -2,7 +2,6 @@ package main import ( "context" - "fmt" "net/http" "strings" "time" @@ -21,8 +20,6 @@ func renderRelayPage(w http.ResponseWriter, r *http.Request) { typ = "relay_sitemap" } - fmt.Println("hostname", hostname) - ctx, cancel := context.WithTimeout(r.Context(), time.Second*5) defer cancel()