Merge pull request from nahuhh/pr/transient

xmr: make " failed to get earliest fork height" a transient error
This commit is contained in:
tecnovert 2025-01-23 08:53:08 +00:00 committed by GitHub
commit edb3b19dcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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):