mirror of
https://github.com/basicswap/basicswap.git
synced 2025-03-08 01:36:02 +00:00
Merge pull request #248 from nahuhh/pr/transient
xmr: make " failed to get earliest fork height" a transient error
This commit is contained in:
commit
edb3b19dcf
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue