Spaces:
Sleeping
Sleeping
Update components/agentcreation.py
Browse files
components/agentcreation.py
CHANGED
|
@@ -70,7 +70,7 @@ def load_keypair(agent):
|
|
| 70 |
keypair=doc["secret_key"]
|
| 71 |
|
| 72 |
secret_key_bytes =bytes.fromhex(keypair)
|
| 73 |
-
keypair = Keypair.from_bytes(
|
| 74 |
|
| 75 |
print(f"✅ Keypair loaded from {path}")
|
| 76 |
print(f"📍 Public Key: {keypair.pubkey()}")
|
|
|
|
| 70 |
keypair=doc["secret_key"]
|
| 71 |
|
| 72 |
secret_key_bytes =bytes.fromhex(keypair)
|
| 73 |
+
keypair = Keypair.from_bytes(secret_key_bytes)
|
| 74 |
|
| 75 |
print(f"✅ Keypair loaded from {path}")
|
| 76 |
print(f"📍 Public Key: {keypair.pubkey()}")
|