mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-18 16:44:34 +00:00
Add 'failed to get output distribution' as a transient error.
This commit is contained in:
parent
5e71367c21
commit
3cab753398
1 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,12 @@ class XMRInterface(CoinInterface):
|
|||
# TODO: Estimate with ringsize
|
||||
return 1604
|
||||
|
||||
def is_transient_error(self, ex) -> bool:
|
||||
str_error: str = str(ex).lower()
|
||||
if 'failed to get output distribution' in str_error:
|
||||
return True
|
||||
return super().is_transient_error(ex)
|
||||
|
||||
def __init__(self, coin_settings, network, swap_client=None):
|
||||
super().__init__(network)
|
||||
|
||||
|
|
Loading…
Reference in a new issue