Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -540,7 +540,7 @@ def issue_tokens(send,rec,amount):
|
|
540 |
balance = 0
|
541 |
balance_rec =int(balance)+int(amount)
|
542 |
|
543 |
-
if
|
544 |
mes ="Not enough tokens"
|
545 |
p = False
|
546 |
if z==False:
|
|
|
540 |
balance = 0
|
541 |
balance_rec =int(balance)+int(amount)
|
542 |
|
543 |
+
if balance_send < 0:
|
544 |
mes ="Not enough tokens"
|
545 |
p = False
|
546 |
if z==False:
|