Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -530,6 +530,9 @@ with gr.Blocks() as bc:
|
|
| 530 |
json_out_rec = gr.JSON()
|
| 531 |
chain_json_rec = gr.JSON()
|
| 532 |
reset_source.click(res_source,None,block_text)
|
|
|
|
|
|
|
|
|
|
| 533 |
issue_btn.click(issue_tokens,[send,rec,am],[block_text,out_box_bool,json_out_send,json_out_rec,chain_json_send,chain_json_rec,trans_data_send,trans_data_rec,block_text_send,block_text_rec,send,rec,trans_data,block_text])
|
| 534 |
#issue_btn.click(issue_tokens,[send,rec,am],[block_text,out_box_bool,json_out_send])
|
| 535 |
|
|
@@ -540,7 +543,7 @@ with gr.Blocks() as bc:
|
|
| 540 |
check.click(valid,None,[block_text,out_box_bool])
|
| 541 |
check_all.click(sort_valid,None,block_text)
|
| 542 |
|
| 543 |
-
send_trans.click(bc_transactions,[send,rec,am],[trans_data,block_text,send,rec,am])
|
| 544 |
mine_b.click(mine_block,[chain_repo,chain_n],[json_out,chain_json,trans_data,block_text])
|
| 545 |
|
| 546 |
|
|
|
|
| 530 |
json_out_rec = gr.JSON()
|
| 531 |
chain_json_rec = gr.JSON()
|
| 532 |
reset_source.click(res_source,None,block_text)
|
| 533 |
+
|
| 534 |
+
send_trans.click(issue_tokens,[send,rec,am],[block_text,out_box_bool,json_out_send,json_out_rec,chain_json_send,chain_json_rec,trans_data_send,trans_data_rec,block_text_send,block_text_rec,send,rec,trans_data,block_text])
|
| 535 |
+
|
| 536 |
issue_btn.click(issue_tokens,[send,rec,am],[block_text,out_box_bool,json_out_send,json_out_rec,chain_json_send,chain_json_rec,trans_data_send,trans_data_rec,block_text_send,block_text_rec,send,rec,trans_data,block_text])
|
| 537 |
#issue_btn.click(issue_tokens,[send,rec,am],[block_text,out_box_bool,json_out_send])
|
| 538 |
|
|
|
|
| 543 |
check.click(valid,None,[block_text,out_box_bool])
|
| 544 |
check_all.click(sort_valid,None,block_text)
|
| 545 |
|
| 546 |
+
#send_trans.click(bc_transactions,[send,rec,am],[trans_data,block_text,send,rec,am])
|
| 547 |
mine_b.click(mine_block,[chain_repo,chain_n],[json_out,chain_json,trans_data,block_text])
|
| 548 |
|
| 549 |
|