Omnibus commited on
Commit
0e49eb1
·
1 Parent(s): 307ba70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -208,9 +208,11 @@ def bc_transactions(sender,recipient,amount):
208
  if out == True:
209
  blockchain.new_transaction(f"{sender}",f"{recipient}",f"{amount}")
210
  message = "Transaction Added to Pool"
 
211
  if out == False:
212
  message = mes
213
- return pd.DataFrame(blockchain.pending_transactions),message,None,None,None
 
214
 
215
  def create_chain(create=None):
216
  global blockchain
 
208
  if out == True:
209
  blockchain.new_transaction(f"{sender}",f"{recipient}",f"{amount}")
210
  message = "Transaction Added to Pool"
211
+ data = pd.DataFrame(blockchain.pending_transactions)
212
  if out == False:
213
  message = mes
214
+ data = None
215
+ return data,message,None,None,None
216
 
217
  def create_chain(create=None):
218
  global blockchain