mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 18:44:20 +01:00
Mint: Turn off locking by default (#662)
* turn off locking by default * fix test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user