mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-18 05:42:20 +01:00
stop debuglogging duplicate "sending" messages, that has confused me absurdly.
This commit is contained in:
parent
69b97107a9
commit
7503643e80
@ -142,7 +142,6 @@ func (sub *Subscription) Close() {
|
||||
id := sub.GetID()
|
||||
closeMsg := CloseEnvelope(id)
|
||||
closeb, _ := (&closeMsg).MarshalJSON()
|
||||
debugLogf("{%s} sending %v", sub.Relay.URL, closeb)
|
||||
<-sub.Relay.Write(closeb)
|
||||
}
|
||||
}
|
||||
@ -164,7 +163,6 @@ func (sub *Subscription) Fire() error {
|
||||
} else {
|
||||
reqb, _ = CountEnvelope{id, sub.Filters, nil}.MarshalJSON()
|
||||
}
|
||||
debugLogf("{%s} sending %v", sub.Relay.URL, reqb)
|
||||
|
||||
sub.live.Store(true)
|
||||
if err := <-sub.Relay.Write(reqb); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user