From 7d98bc1debbc518a6a2b64169263485fdd1d4b1d Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 16 Feb 2023 16:56:40 +0200 Subject: [PATCH] feat: add event kind `41` to replaceable events list --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index 60dbb19..7f29bf2 100644 --- a/models.py +++ b/models.py @@ -167,7 +167,7 @@ class NostrEvent(BaseModel): @property def is_replaceable_event(self) -> bool: - return self.kind in [0, 3] + return self.kind in [0, 3, 41] @property def is_auth_response_event(self) -> bool: