Describe the bug
The java.util.NoSuchElementException occurs in the constructor of ResponseHandlerImpl.
To Reproduce
- Run NostrExamples.
2.An exception occurs on the line 68 "private final static Client CLIENT = Client.getInstance(RELAYS);"
Expected behavior
The exception does not occur.
Additional context
Is it correct to have the expression "filter(ch -> !ch.getClass().isAnnotationPresent(DefaultHandler.class))" inside the constructor of ResponseHandlerImpl? Shouldn't it be "filter(ch -> ch.getClass().isAnnotationPresent(DefaultHandler.class))" instead?