mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-26 17:52:20 +01:00
remove conn field from subscription.
This commit is contained in:
parent
030c1d1898
commit
68648a16b9
1
relay.go
1
relay.go
@ -466,7 +466,6 @@ func (r *Relay) PrepareSubscription(ctx context.Context, filters Filters, opts .
|
||||
Relay: r,
|
||||
Context: ctx,
|
||||
cancel: cancel,
|
||||
conn: r.Connection,
|
||||
counter: int(current),
|
||||
Events: make(chan *Event),
|
||||
EndOfStoredEvents: make(chan struct{}),
|
||||
|
@ -10,7 +10,6 @@ import (
|
||||
type Subscription struct {
|
||||
label string
|
||||
counter int
|
||||
conn *Connection
|
||||
|
||||
Relay *Relay
|
||||
Filters Filters
|
||||
|
Loading…
x
Reference in New Issue
Block a user