mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Merge pull request #248 from nahuhh/pr/transient
xmr: make " failed to get earliest fork height" a transient error
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user