feat: adds a wallet select to picking wallet + uv (#37)

* Adds a wallet select to picking wallet

* added uv

* uv uv uv

---------

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Arc 2026-05-05 22:53:59 +01:00 committed by GitHub
commit 81184a0a53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 2364 additions and 3699 deletions

View file

@ -1,6 +1,5 @@
import asyncio
from math import floor
from typing import Optional
import bolt11
from lnbits.core.crud import get_standalone_payment
@ -100,7 +99,7 @@ async def pay_invoice_in_background(payment_request, wallet_id, description, ext
async def get_lnurl_invoice(
payoraddress: str, wallet_id: str, amount_msat: int, memo: str
) -> Optional[str]:
) -> str | None:
rounded_amount = floor(amount_msat / 1000) * 1000