Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -461,7 +461,7 @@ def mychain_mine_block_send(balance, chain_r=None,chain_n=None):
|
|
461 |
response = {'message': 'A block is MINED',
|
462 |
'index': block['index'],
|
463 |
'timestamp': block['timestamp'],
|
464 |
-
'balance': block['balance'],
|
465 |
'proof': block['proof'],
|
466 |
'previous_hash': block['previous_hash']}
|
467 |
message = "A block is MINED"
|
@@ -483,7 +483,7 @@ def mychain_mine_block_rec(balance, chain_r=None,chain_n=None):
|
|
483 |
response = {'message': 'A block is MINED',
|
484 |
'index': block['index'],
|
485 |
'timestamp': block['timestamp'],
|
486 |
-
'balance': block['balance'],
|
487 |
'proof': block['proof'],
|
488 |
'previous_hash': block['previous_hash']}
|
489 |
message = "A block is MINED"
|
|
|
461 |
response = {'message': 'A block is MINED',
|
462 |
'index': block['index'],
|
463 |
'timestamp': block['timestamp'],
|
464 |
+
#'balance': block['balance'],
|
465 |
'proof': block['proof'],
|
466 |
'previous_hash': block['previous_hash']}
|
467 |
message = "A block is MINED"
|
|
|
483 |
response = {'message': 'A block is MINED',
|
484 |
'index': block['index'],
|
485 |
'timestamp': block['timestamp'],
|
486 |
+
#'balance': block['balance'],
|
487 |
'proof': block['proof'],
|
488 |
'previous_hash': block['previous_hash']}
|
489 |
message = "A block is MINED"
|