Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from lnbits.db import Database
from lnbits.helpers import urlsafe_short_hash
from pynostr.key import PrivateKey

from .models import CreatePayLinkData, LnurlpSettings, PayLink
from .nostr.key import PrivateKey

db = Database("ext_lnurlp")

Expand Down
3 changes: 1 addition & 2 deletions helpers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from fastapi import Request
from lnurl import encode as lnurl_encode

from .nostr.key import PrivateKey
from pynostr.key import PrivateKey


def parse_nostr_private_key(key: str) -> PrivateKey:
Expand Down
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from fastapi import Query
from pydantic import BaseModel, Field
from pynostr.key import PrivateKey

from .helpers import parse_nostr_private_key
from .nostr.key import PrivateKey


class LnurlpSettings(BaseModel):
Expand Down
150 changes: 0 additions & 150 deletions nostr/bech32.py

This file was deleted.

132 changes: 0 additions & 132 deletions nostr/event.py

This file was deleted.

Loading