forked from rDrama/rDrama
1
0
Fork 0

add SOL, DOGE, LTC options in /insert_transactions

master
Aevann 2024-02-18 19:42:54 +02:00
parent b2817d35cc
commit 5b0ecfb144
2 changed files with 4 additions and 1 deletions

View File

@ -2016,7 +2016,7 @@ def insert_transaction_post(v):
amount = request.values.get("amount", "").strip()
username = request.values.get("username", "").strip()
if type not in {'BMAC', 'BTC', 'ETH', 'XMR'}:
if type not in {'BMAC', 'BTC', 'ETH', 'XMR', 'SOL', 'DOGE', 'LTC'}:
abort(400, "Invalid transaction currency!")
if type == 'BMAC':

View File

@ -22,6 +22,9 @@
<option value="BTC">BTC</option>
<option value="ETH">ETH</option>
<option value="XMR">XMR</option>
<option value="SOL">SOL</option>
<option value="DOGE">DOGE</option>
<option value="LTC">LTC</option>
</select>
</div>