Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,8 +227,11 @@ def get_my_chain_send(sender_name=None):
|
|
| 227 |
response = {'chain': mychain_send.chain,
|
| 228 |
'length': len(mychain_send.chain)}
|
| 229 |
#print (f'response={response}')
|
| 230 |
-
|
| 231 |
-
|
|
|
|
|
|
|
|
|
|
| 232 |
|
| 233 |
|
| 234 |
message = f"Blockchain loaded from: {main_balance}{sender_name}.json"
|
|
|
|
| 227 |
response = {'chain': mychain_send.chain,
|
| 228 |
'length': len(mychain_send.chain)}
|
| 229 |
#print (f'response={response}')
|
| 230 |
+
try:
|
| 231 |
+
mychain_trans = MyChainTrans(chain_load=main_trans,load=d.text)
|
| 232 |
+
except Exception as e:
|
| 233 |
+
print (e)
|
| 234 |
+
pass
|
| 235 |
|
| 236 |
|
| 237 |
message = f"Blockchain loaded from: {main_balance}{sender_name}.json"
|