dni ⚡
dni ⚡
added apache2 reverse proxy setup to docs
don't use mock invoice for real wallet tests inside regtest * introduced `is_regtest` variable into test/helpers.py * fixed tests for bleskomat * test_pay_invoice_adminkey added regtest if * use logger.error for...
this fixes issue https://github.com/lnbits/lnbits-legend/issues/652 it works by using its own signal handler, overwriting the default one for the duration of the backend wallet initialisation. after the wallet is initialised, it...
curl post request with malformed json throwing errors. issue for future reference on error handling.
a user accidently used a malformed json to make a curl request. ``` curl -X POST http://localhost:5000/api/v1/payments -d '{"}' -H "X-Api-Key:XXXXcbe1b6514e8fa07e28d2c172e772" -H "Content-type: application/json" ``` i tinkered around with it...
first draft version of boltz.exchange integration, please review and find all the bugs :) only works in regtest setup, please do not try in production yet. ## Todo: * [x]...
testcase to trigger this error as mentioned here https://github.com/lnbits/lnbits-legend/issues/847
the following testcase errors. it should work on all post endpoints ```python @pytest.mark.asyncio async def test_what(client): url = "/copilot/api/v1/copilot" response = await client.post(url) ``` error: ``` sqlalchemy.exc.InterfaceError: (sqlite3.InterfaceError) Error binding...
after discussion with @callebtc we wonder why websockets is used there, it would be best to remove it. it throws mypy errors because of https://github.com/aaugustin/websockets/issues/940 [lnbits/wallets/eclair.py](https://github.com/lnbits/lnbits-legend/blob/main/lnbits/wallets/eclair.py#L10)
make check balance function for developers to easily use it without the pay_invoice https://github.com/lnbits/lnbits-legend/blob/main/lnbits/core/services.py#L79