Omnibus commited on
Commit
0fc5831
·
1 Parent(s): 50fa8e8

Update app.py

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