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()
|
amount = request.values.get("amount", "").strip()
|
||||||
username = request.values.get("username", "").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!")
|
abort(400, "Invalid transaction currency!")
|
||||||
|
|
||||||
if not id:
|
if not id:
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
<option hidden disabled selected value>-- select an option --</option>
|
<option hidden disabled selected value>-- select an option --</option>
|
||||||
<option value="BTC">BTC</option>
|
<option value="BTC">BTC</option>
|
||||||
<option value="ETH">ETH</option>
|
<option value="ETH">ETH</option>
|
||||||
|
<option value="XMR">XMR</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue