FIX: issues and improvements to frontend, add lnurlp/lnurladdress, remove split by tag feature (#4)
* deinitialize task * rework of frontend * add lnurl and lightningaddresses * substract fee_reserve from external split, for potential routing fee, add a warning to ui
This commit is contained in:
parent
a96897d4a2
commit
5bb234b797
12 changed files with 269 additions and 344 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import asyncio
|
||||
from typing import List
|
||||
|
||||
from fastapi import APIRouter
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
|
|
@ -9,6 +10,8 @@ from lnbits.tasks import catch_everything_and_restart
|
|||
|
||||
db = Database("ext_splitpayments")
|
||||
|
||||
scheduled_tasks: List[asyncio.Task] = []
|
||||
|
||||
splitpayments_static_files = [
|
||||
{
|
||||
"path": "/splitpayments/static",
|
||||
|
|
@ -32,4 +35,5 @@ from .views_api import * # noqa: F401,F403
|
|||
|
||||
def splitpayments_start():
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.create_task(catch_everything_and_restart(wait_for_paid_invoices))
|
||||
task = loop.create_task(catch_everything_and_restart(wait_for_paid_invoices))
|
||||
scheduled_tasks.append(task)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue