mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 02:24:20 +01:00
Halt melt on exception (#635)
* halt melt for payment status exception * refactor * less log * add fakewallet test throwing exceptions
This commit is contained in:
@@ -140,7 +140,9 @@ class FakeWalletSettings(MintSettings):
|
||||
fakewallet_delay_incoming_payment: Optional[float] = Field(default=3.0)
|
||||
fakewallet_stochastic_invoice: bool = Field(default=False)
|
||||
fakewallet_payment_state: Optional[str] = Field(default="SETTLED")
|
||||
fakewallet_payment_state_exception: Optional[bool] = Field(default=False)
|
||||
fakewallet_pay_invoice_state: Optional[str] = Field(default="SETTLED")
|
||||
fakewallet_pay_invoice_state_exception: Optional[bool] = Field(default=False)
|
||||
|
||||
|
||||
class MintInformation(CashuSettings):
|
||||
|
||||
Reference in New Issue
Block a user