Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -376,8 +376,7 @@ def issue_tokens(send,rec,amount):
|
|
376 |
trans_mes=None
|
377 |
balance_send = 0
|
378 |
balance_rec = 0
|
379 |
-
mes
|
380 |
-
|
381 |
try:
|
382 |
_,z=valid()
|
383 |
if z == True:
|
@@ -420,7 +419,7 @@ def issue_tokens(send,rec,amount):
|
|
420 |
if balance_send < 0:
|
421 |
mes ="Not enough tokens"
|
422 |
p = False
|
423 |
-
|
424 |
p = False
|
425 |
mes=mes1
|
426 |
pass
|
|
|
376 |
trans_mes=None
|
377 |
balance_send = 0
|
378 |
balance_rec = 0
|
379 |
+
mes=""
|
|
|
380 |
try:
|
381 |
_,z=valid()
|
382 |
if z == True:
|
|
|
419 |
if balance_send < 0:
|
420 |
mes ="Not enough tokens"
|
421 |
p = False
|
422 |
+
else:
|
423 |
p = False
|
424 |
mes=mes1
|
425 |
pass
|