Omnibus commited on
Commit
3087d78
·
1 Parent(s): 8387f25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -437,10 +437,10 @@ def issue_tokens(send,rec,amount):
437
  print (mes)
438
 
439
  if p==False:
440
- return (mes, p, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},{},{})
441
- else:
 
442
 
443
- def mint_to_chain():
444
  mychain_send.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_send}")
445
  message_send = "Transaction Added to Pool"
446
  data_send = pd.DataFrame(mychain_send.pending_transactions)
@@ -454,7 +454,7 @@ def issue_tokens(send,rec,amount):
454
  _,rec_drop=update_rec_list()
455
  trans_bx = merge_trans()
456
  trans_data, mes = bc_transactions(trans_bx)
457
- return (mes, p, response_send, response_rec, show_chain_send, show_chain_rec, data_send, data_rec, message_send, message_rec, rec_send, rec_drop,trans_data,trans_mes)
458
 
459
 
460
 
 
437
  print (mes)
438
 
439
  if p==False:
440
+ return (mes, p, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},{})
441
+ if p==True:
442
+
443
 
 
444
  mychain_send.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_send}")
445
  message_send = "Transaction Added to Pool"
446
  data_send = pd.DataFrame(mychain_send.pending_transactions)
 
454
  _,rec_drop=update_rec_list()
455
  trans_bx = merge_trans()
456
  trans_data, mes = bc_transactions(trans_bx)
457
+ return (mes, p, response_send, response_rec, show_chain_send, show_chain_rec, data_send, data_rec, message_send, message_rec, rec_send, rec_drop,trans_data)
458
 
459
 
460