Mint: Turn off locking by default (#662)

* turn off locking by default

* fix test
This commit is contained in:
callebtc
2024-11-04 10:52:33 +01:00
committed by GitHub
parent f98ed30483
commit 05547e3710
3 changed files with 5 additions and 3 deletions

View File

@@ -303,6 +303,7 @@ async def test_melt_lightning_pay_invoice_exception_exception(
ledger: Ledger, wallet: Wallet
):
"""Simulates the case where pay_invoice and get_payment_status raise an exception (due to network issues for example)."""
settings.mint_disable_melt_on_error = True
mint_quote = await wallet.request_mint(64)
await ledger.get_mint_quote(mint_quote.quote) # fakewallet: set the quote to paid
await wallet.mint(64, quote_id=mint_quote.quote)