Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"{
|
| 556 |
message_send = "Transaction Added to Pool"
|
| 557 |
data_send = pd.DataFrame(mychain_send.pending_transactions)
|
| 558 |
-
mychain_rec.new_transaction(f"{
|
| 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)
|