Omnibus commited on
Commit
3f18a78
·
1 Parent(s): 86d62aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,10 +28,10 @@ api = HfApi(token=token_self)
28
 
29
  ######################## BLOCKCHAIN START ###############################
30
 
31
- def bc_transactions(sender,recipient,amount):
32
- mes, out = issue_tokens(sender,recipient,amount)
33
  if out == True:
34
- blockchain.new_transaction(f"{sender}",f"{recipient}",f"{amount}")
35
  message = "Transaction Added to Pool"
36
  data = pd.DataFrame(blockchain.pending_transactions)
37
  if out == False:
 
28
 
29
  ######################## BLOCKCHAIN START ###############################
30
 
31
+ def bc_transactions(block):
32
+ #mes, out = issue_tokens(sender,recipient,amount)
33
  if out == True:
34
+ blockchain.new_transaction(block)
35
  message = "Transaction Added to Pool"
36
  data = pd.DataFrame(blockchain.pending_transactions)
37
  if out == False: