Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -377,7 +377,8 @@ def issue_tokens(send,rec,amount):
|
|
377 |
print (lod_rec)
|
378 |
try:
|
379 |
#if lod_rec["chain"][-1]["index"] > 1:
|
380 |
-
balance = lod_rec[-1]["balance"]
|
|
|
381 |
#if lod_rec["chain"][-1]["index"] == 1:
|
382 |
# balance = 0
|
383 |
except Exception:
|
|
|
377 |
print (lod_rec)
|
378 |
try:
|
379 |
#if lod_rec["chain"][-1]["index"] > 1:
|
380 |
+
balance = lod_rec["chain"][-1]["balance"]
|
381 |
+
print (balance)
|
382 |
#if lod_rec["chain"][-1]["index"] == 1:
|
383 |
# balance = 0
|
384 |
except Exception:
|