Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,7 @@ api = HfApi(token=token_self)
|
|
30 |
|
31 |
def bc_transactions(block):
|
32 |
#mes, out = issue_tokens(sender,recipient,amount)
|
|
|
33 |
try:
|
34 |
blockchain.new_transaction(block)
|
35 |
message = "Transaction Added to Pool"
|
@@ -416,7 +417,9 @@ def issue_tokens(send,rec,amount):
|
|
416 |
_,rec_send=update_send_list()
|
417 |
_,rec_drop=update_rec_list()
|
418 |
trans_bx = merge_trans()
|
419 |
-
|
|
|
|
|
420 |
|
421 |
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)
|
422 |
############################## MYCHAIN END ###############################
|
|
|
30 |
|
31 |
def bc_transactions(block):
|
32 |
#mes, out = issue_tokens(sender,recipient,amount)
|
33 |
+
data_out =
|
34 |
try:
|
35 |
blockchain.new_transaction(block)
|
36 |
message = "Transaction Added to Pool"
|
|
|
417 |
_,rec_send=update_send_list()
|
418 |
_,rec_drop=update_rec_list()
|
419 |
trans_bx = merge_trans()
|
420 |
+
bc_transactions(trans_bx)
|
421 |
+
trans_data, trans_mes = blockchain.trans_data_out
|
422 |
+
|
423 |
|
424 |
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)
|
425 |
############################## MYCHAIN END ###############################
|