From aac2f51b883ed48335e337a6cd3dbb53a11d508c Mon Sep 17 00:00:00 2001
From: nahuhh <50635951+nahuhh@users.noreply.github.com>
Date: Wed, 22 Jan 2025 23:30:33 +0000
Subject: [PATCH] =?UTF-8?q?=C2=A0xmr:=20make=20earliest=20fork=20height=20?=
 =?UTF-8?q?a=20transient=20error?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 basicswap/interface/xmr.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/basicswap/interface/xmr.py b/basicswap/interface/xmr.py
index 0ce3d5c..6fcd9b6 100644
--- a/basicswap/interface/xmr.py
+++ b/basicswap/interface/xmr.py
@@ -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):