forked from rDrama/rDrama
add XMR option
parent
72613cdbd7
commit
f56441e2d2
|
@ -2050,7 +2050,7 @@ def insert_transaction_post(v):
|
|||
amount = request.values.get("amount", "").strip()
|
||||
username = request.values.get("username", "").strip()
|
||||
|
||||
if type not in {'BTC', 'ETH'}:
|
||||
if type not in {'BTC', 'ETH', 'XMR'}:
|
||||
abort(400, "Invalid transaction currency!")
|
||||
|
||||
if not id:
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
<option hidden disabled selected value>-- select an option --</option>
|
||||
<option value="BTC">BTC</option>
|
||||
<option value="ETH">ETH</option>
|
||||
<option value="XMR">XMR</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue