Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -423,7 +423,7 @@ def issue_tokens(send,rec,amount):
|
|
423 |
if balance_send < 0:
|
424 |
mes ="Not enough tokens"
|
425 |
p = False
|
426 |
-
|
427 |
print(mes)
|
428 |
|
429 |
if z==False:
|
@@ -432,7 +432,7 @@ def issue_tokens(send,rec,amount):
|
|
432 |
except Exception as e:
|
433 |
mes = f"Blockchain not loaded? {e}"
|
434 |
p=False
|
435 |
-
|
436 |
|
437 |
if p==True:
|
438 |
mychain_send.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_send}")
|
|
|
423 |
if balance_send < 0:
|
424 |
mes ="Not enough tokens"
|
425 |
p = False
|
426 |
+
ELSE
|
427 |
print(mes)
|
428 |
|
429 |
if z==False:
|
|
|
432 |
except Exception as e:
|
433 |
mes = f"Blockchain not loaded? {e}"
|
434 |
p=False
|
435 |
+
print (mes)
|
436 |
|
437 |
if p==True:
|
438 |
mychain_send.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_send}")
|