From 6172785e2ed68c26523efa52d326c48c212fb1fc Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Sat, 13 Sep 2025 04:35:26 +0000 Subject: [PATCH] xmr: add `request-sent`, `idle`, and `output distribution` to transient errors --- basicswap/interface/xmr.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/basicswap/interface/xmr.py b/basicswap/interface/xmr.py index f8d8b3e..5b7023a 100644 --- a/basicswap/interface/xmr.py +++ b/basicswap/interface/xmr.py @@ -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)