Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -356,7 +356,7 @@ def issue_tokens(send,rec,amount):
|
|
356 |
mes = f"Sender has no wallet {e}"
|
357 |
pass
|
358 |
if p==True:
|
359 |
-
balance = lod[-1]["balance"]
|
360 |
print (balance)
|
361 |
balance_send =int(balance)-int(amount)
|
362 |
if balance_send >=0:
|
|
|
356 |
mes = f"Sender has no wallet {e}"
|
357 |
pass
|
358 |
if p==True:
|
359 |
+
balance = lod["chain"][-1]["balance"]
|
360 |
print (balance)
|
361 |
balance_send =int(balance)-int(amount)
|
362 |
if balance_send >=0:
|