Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,10 +28,10 @@ api = HfApi(token=token_self)
|
|
| 28 |
|
| 29 |
######################## BLOCKCHAIN START ###############################
|
| 30 |
|
| 31 |
-
def bc_transactions(
|
| 32 |
-
mes, out = issue_tokens(sender,recipient,amount)
|
| 33 |
if out == True:
|
| 34 |
-
blockchain.new_transaction(
|
| 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:
|