adamritter / nostr-relaypool-ts

A Nostr RelayPool implementation in TypeScript using only nostr-tools library as a dependency
https://www.npmjs.com/package/nostr-relaypool
MIT License
63 stars 17 forks source link

Fix a bug: Sub listeners can be not defined #27

Closed 0xtlt closed 1 year ago

0xtlt commented 1 year ago

I had some bugs with undefined listeners, so here is the fix that adds a check where it is needed for now.

0xtlt commented 1 year ago
CleanShot 2023-01-29 at 11 06 18@2x

It will help to fix that