Update client_connection.py (#29)

omit return none, in ref to https://github.com/lnbits/nostrrelay/issues/27
This commit is contained in:
Bitkarrot 2024-10-13 23:39:48 -07:00 committed by GitHub
parent cc6752003a
commit 2bdbbb274d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,7 +130,6 @@ class NostrClientConnection:
await self._send_msg(resp_nip20)
return None
self.auth_pubkey = e.pubkey
return None
if not self.auth_pubkey and self.config.event_requires_auth(e.kind):
await self._send_msg(["AUTH", self._current_auth_challenge()])