Omnibus commited on
Commit
bea69aa
·
1 Parent(s): 2047384

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -552,10 +552,10 @@ def issue_tokens(send,rec,amount):
552
 
553
 
554
  if p==True:
555
- mychain_send.new_transaction(f"{sender}",f"{recipient}",f"{amount}",f"{balance_send}")
556
  message_send = "Transaction Added to Pool"
557
  data_send = pd.DataFrame(mychain_send.pending_transactions)
558
- mychain_rec.new_transaction(f"{sender}",f"{recipient}",f"{amount}",f"{balance_rec}")
559
  message_rec = "Transaction Added to Pool"
560
  data_rec = pd.DataFrame(mychain_rec.pending_transactions)
561
  response_send, show_chain_send,data_send, message_send = mychain_mine_block_send(balance_send, chain_r=None,chain_n=send)
 
552
 
553
 
554
  if p==True:
555
+ mychain_send.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_send}")
556
  message_send = "Transaction Added to Pool"
557
  data_send = pd.DataFrame(mychain_send.pending_transactions)
558
+ mychain_rec.new_transaction(f"{send}",f"{rec}",f"{amount}",f"{balance_rec}")
559
  message_rec = "Transaction Added to Pool"
560
  data_rec = pd.DataFrame(mychain_rec.pending_transactions)
561
  response_send, show_chain_send,data_send, message_send = mychain_mine_block_send(balance_send, chain_r=None,chain_n=send)