Skip to content

Commit

Permalink
fix: remove eos check after connecting to relay
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Nov 19, 2024
1 parent d577be4 commit 80bd5f4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions service/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ func (svc *service) StartSubscription(ctx context.Context, sub *nostr.Subscripti
svc.nip47Service.StartNotifier(ctx, sub.Relay, svc.lnClient)

go func() {
// block till EOS is received
<-sub.EndOfStoredEvents
logger.Logger.Debug("Received EOS")

// loop through incoming events
for event := range sub.Events {
go svc.nip47Service.HandleEvent(ctx, sub.Relay, event, svc.lnClient)
Expand Down

0 comments on commit 80bd5f4

Please sign in to comment.