Merge pull request #368 from nahuhh/xmr_transient

xmr: add `request-sent`, `idle`, and `output distribution` to transie…
This commit is contained in:
tecnovert
2025-10-01 18:23:08 +00:00
committed by GitHub

View File

@@ -84,7 +84,15 @@ class XMRInterface(CoinInterface):
def is_transient_error(self, ex) -> bool:
str_error: str = str(ex).lower()
if "failed to get earliest fork height" in str_error:
if any(
response in str_error
for response in [
"failed to get earliest fork height",
"failed to get output distribution",
"request-sent",
"idle",
]
):
return True
return super().is_transient_error(ex)