mirror of
https://github.com/basicswap/basicswap.git
synced 2024-11-16 15:58:17 +00:00
Fix offer creation.
This commit is contained in:
parent
553af1a3e8
commit
1a136cd219
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def parseOfferFormData(swap_client, form_data, page_data, options={}):
|
|||
except Exception:
|
||||
errors.append('Minimum Bid Amount')
|
||||
|
||||
if (have_data_entry(form_data, 'rate')):
|
||||
if (have_data_entry(form_data, 'rate') and not have_data_entry(form_data, 'amt_to')):
|
||||
parsed_data['rate'] = ci_to.make_int(form_data['rate'], r=1)
|
||||
page_data['rate'] = ci_to.format_amount(parsed_data['rate'])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue