Omnibus commited on
Commit
402a95b
·
1 Parent(s): bf2156f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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: