mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-19 00:54:35 +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
|
# TODO: Estimate with ringsize
|
||||||
return 1604
|
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):
|
def __init__(self, coin_settings, network, swap_client=None):
|
||||||
super().__init__(network)
|
super().__init__(network)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue