Add 'failed to get output distribution' as a transient error.

This commit is contained in:
tecnovert 2024-10-25 20:39:31 +02:00
parent 5e71367c21
commit 3cab753398
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -83,6 +83,12 @@ class XMRInterface(CoinInterface):
# TODO: Estimate with ringsize
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
return super().is_transient_error(ex)
def __init__(self, coin_settings, network, swap_client=None):
super().__init__(network)