diff --git a/tasks.py b/tasks.py index c3a8322..f3f080a 100644 --- a/tasks.py +++ b/tasks.py @@ -1,14 +1,14 @@ import asyncio -import re from loguru import logger from lnbits.core.models import Payment + from lnbits.helpers import get_current_extension_name from lnbits.tasks import register_invoice_listener from .crud import create_account, get_account, update_account - +from .models import NostrAccount async def wait_for_paid_invoices(): invoice_queue = asyncio.Queue()