refactor: extract NostrRelay

This commit is contained in:
Vlad Stan 2023-02-17 14:23:58 +02:00
parent 2ebc83a286
commit 855812cb8f
8 changed files with 143 additions and 141 deletions

View file

@ -3,8 +3,9 @@ from typing import Callable, Optional, Tuple
from ..crud import get_account, get_storage_for_public_key, prune_old_events
from ..helpers import extract_domain
from ..models import NostrAccount, RelaySpec
from ..models import NostrAccount
from .event import NostrEvent
from .relay import RelaySpec
class EventValidator: