d89a6a337a
* add status to statusdialog * first commits for boltz update * formatting * add latest boltz-clien package * big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet * blacking, sorting and stuff * remove unused req_wrap helper * remove api docs from frontend * bug: frontend boltz limits error * clean up buttons * update to boltz-client 0.0.8 * fix tests to poetry version 1.3.1 * update requirements * formatting * recurring swap works now, need more finetuning * add exceptions for multiple auto swaps and swapping in with active auto swap * black * auto reverse swap actually works :) * remove swap status dialogs * update to boltz_client 0.0.9 * update to boltz-client 0.1.1, and fix startup * update requirement.txt for boltz-client * fixup columns in table, remove unused payment.extra, change deezy label * remove balance check for auto swap out * update boltzc-lient to 0.1.2, fix mypy issue inside boltz package * nitpicks calle tasks.py * calle nitpicks crud * calle nitpicks crud * refactor * fix formatting * circular import * black :) Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
15 lines
393 B
Python
15 lines
393 B
Python
import pytest_asyncio
|
|
|
|
from lnbits.extensions.boltz.models import CreateReverseSubmarineSwap
|
|
|
|
|
|
@pytest_asyncio.fixture(scope="session")
|
|
async def reverse_swap(from_wallet):
|
|
data = CreateReverseSubmarineSwap(
|
|
wallet=from_wallet.id,
|
|
instant_settlement=True,
|
|
onchain_address="bcrt1q4vfyszl4p8cuvqh07fyhtxve5fxq8e2ux5gx43",
|
|
amount=20_000,
|
|
)
|
|
return data
|