xmr: make earliest fork height a transient error

This commit is contained in:
nahuhh 2025-01-22 23:30:33 +00:00
parent 4d5551cd84
commit aac2f51b88

View file

@ -82,9 +82,9 @@ class XMRInterface(CoinInterface):
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
str_error: str = str(ex).lower()
if "failed to get earliest fork height" in str_error:
return True
return super().is_transient_error(ex)
def __init__(self, coin_settings, network, swap_client=None):