Better error message when trying to swap Firo <> XMR.
This commit is contained in:
1 parent
3b6f72c084
commit
a5c3534c19
3 files changed
+38
-2
No files matched your search
@@ -173,7 +173,7 @@ def parseOfferFormData(swap_client, form_data, page_data, options={}):
|
||||
try:
|
||||
swap_client.validateSwapType(coin_from, coin_to, swap_type)
|
||||
except Exception as e:
|
||||
errors.append(f'Invalid Swap type {e}')
|
||||
errors.append(f'{e}')
|
||||
|
||||
if have_data_entry(form_data, 'step1'):
|
||||
if len(errors) == 0 and have_data_entry(form_data, 'continue'):
|
||||
|
||||
Reference in new issue
Block a user