mirror of
https://github.com/aljazceru/python-nostr.git
synced 2025-12-19 07:14:23 +01:00
refactor Filter class and add Filter test suite (#33)
This commit is contained in:
@@ -28,7 +28,7 @@ class Event():
|
||||
signature: str=None) -> None:
|
||||
if not isinstance(content, str):
|
||||
raise TypeError("Argument 'content' must be of type str")
|
||||
|
||||
|
||||
self.public_key = public_key
|
||||
self.content = content
|
||||
self.created_at = created_at or int(time.time())
|
||||
|
||||
Reference in New Issue
Block a user