mirror of
https://github.com/basicswap/basicswap.git
synced 2025-05-02 19:02:16 +00:00
xmr: make earliest fork height a transient error
This commit is contained in:
parent
4d5551cd84
commit
aac2f51b88
1 changed files with 3 additions and 3 deletions
|
@ -82,9 +82,9 @@ class XMRInterface(CoinInterface):
|
||||||
return 1604
|
return 1604
|
||||||
|
|
||||||
def is_transient_error(self, ex) -> bool:
|
def is_transient_error(self, ex) -> bool:
|
||||||
# str_error: str = str(ex).lower()
|
str_error: str = str(ex).lower()
|
||||||
# if "failed to get output distribution" in str_error:
|
if "failed to get earliest fork height" in str_error:
|
||||||
# return True
|
return True
|
||||||
return super().is_transient_error(ex)
|
return super().is_transient_error(ex)
|
||||||
|
|
||||||
def __init__(self, coin_settings, network, swap_client=None):
|
def __init__(self, coin_settings, network, swap_client=None):
|
||||||
|
|
Loading…
Reference in a new issue