Skip to content

Commit

Permalink
chore: close subscriptions everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jun 3, 2024
1 parent 78a4d60 commit f4cb19d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/nostr/nostr.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ func (svc *Service) InfoHandler(c echo.Context) error {
"walletPubkey": requestData.WalletPubkey,
"eventId": event.ID,
}).Info("Received info event")
sub.Unsub()
return c.JSON(http.StatusOK, InfoResponse{
Event: event,
})
Expand Down

0 comments on commit f4cb19d

Please sign in to comment.