mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-05-19 23:19:58 +02:00
comment out info log for when we get an event outside of a subscription.
relays will often keep sending stored events even though we've closed a subscription already.
This commit is contained in:
parent
bc783a3a24
commit
a80965425b
2
relay.go
2
relay.go
@ -187,7 +187,7 @@ func (r *Relay) Connect(ctx context.Context) error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if subscription, ok := r.Subscriptions.Load(*env.SubscriptionID); !ok {
|
if subscription, ok := r.Subscriptions.Load(*env.SubscriptionID); !ok {
|
||||||
InfoLogger.Printf("{%s} no subscription with id '%s'\n", r.URL, *env.SubscriptionID)
|
// InfoLogger.Printf("{%s} no subscription with id '%s'\n", r.URL, *env.SubscriptionID)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
func() {
|
func() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user