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